From 508d3a39ee6f00db131e9850c9314d747cbfcc8a Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 2 Aug 2016 08:29:05 -0300 Subject: [PATCH] sch2fig/main.c (main): don't forget to return 0 at the end (reported by Joerg) Strangely enough, gcc (Ubuntu 5.2.1-26ubuntu1) 5.2.1 20151125 does not report this. Also explicitly setting -Wreturn-type does not make it more talkative. gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388] does report it. --- sch2fig/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sch2fig/main.c b/sch2fig/main.c index db59f96..6ffee2a 100644 --- a/sch2fig/main.c +++ b/sch2fig/main.c @@ -134,4 +134,6 @@ found: sch_render(sch_ctx.sheets); } gfx_end(); + + return 0; }