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

xionghu.luo at intel.com xionghu.luo at intel.com
Thu May 5 16:11:45 UTC 2016


From: Luo Xionghu <xionghu.luo at intel.com>

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

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;
 }
 
-- 
2.1.4



More information about the Beignet mailing list