[02/12] no return value for non-void function.

Submitted by Luo, Xionghu on May 5, 2016, 4:11 p.m.

Details

Message ID 1462464714-15444-2-git-send-email-xionghu.luo@intel.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Beignet

Not browsing as part of any series.

Commit Message

Luo, Xionghu May 5, 2016, 4:11 p.m.
From: Luo Xionghu <xionghu.luo@intel.com>

Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
---
 benchmark/benchmark_run.cpp | 1 +
 utests/utest_run.cpp        | 1 +
 2 files changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/benchmark/benchmark_run.cpp b/benchmark/benchmark_run.cpp
index 01748ce..d51bf23 100644
--- a/benchmark/benchmark_run.cpp
+++ b/benchmark/benchmark_run.cpp
@@ -114,4 +114,5 @@  int main(int argc, char *argv[])
   } while ((c = getopt_long (argc, argv, shortopts, longopts, NULL)) != -1);
 
   cl_ocl_destroy();
+  return 0;
 }
diff --git a/utests/utest_run.cpp b/utests/utest_run.cpp
index 576d381..b303527 100644
--- a/utests/utest_run.cpp
+++ b/utests/utest_run.cpp
@@ -141,5 +141,6 @@  int main(int argc, char *argv[])
 
 clean:
   cl_ocl_destroy();
+  return 0;
 }