[babl] tools: babl-gen-test-pixels: add explicit return 0
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] tools: babl-gen-test-pixels: add explicit return 0
- Date: Fri, 26 Aug 2016 02:47:12 +0000 (UTC)
commit 3ce0813b38015c193708d1f4c768f8e5a7125bea
Author: Roman Lebedev <lebedev ri gmail com>
Date: Mon Aug 22 15:25:31 2016 +0300
tools: babl-gen-test-pixels: add explicit return 0
Gcc-4.9 warns:
babl-gen-test-pixels.c: In function ‘main’:
babl-gen-test-pixels.c:170:1: error: control reaches end of non-void function [-Werror=return-type]
tools/babl-gen-test-pixels.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tools/babl-gen-test-pixels.c b/tools/babl-gen-test-pixels.c
index 0231224..54c1b16 100644
--- a/tools/babl-gen-test-pixels.c
+++ b/tools/babl-gen-test-pixels.c
@@ -167,4 +167,6 @@ int main (int argc, char **argv)
gen_path_pixels ();
gen_model_pixels ();
gen_type_pixels ();
-}
\ No newline at end of file
+
+ return 0;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]