1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 15:04:36 +02:00

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.
This commit is contained in:
Werner Almesberger 2016-08-02 08:29:05 -03:00
parent 47792182b7
commit 508d3a39ee

View File

@ -134,4 +134,6 @@ found:
sch_render(sch_ctx.sheets);
}
gfx_end();
return 0;
}