Commit Graph

11 Commits (master)

Author SHA1 Message Date
Mike Frysinger 08b0dbaec6 move (redundant) ifdef checks from source to build files
We've been tracking program deps in the build files, so it ends up
being redundant for a lot of our test/example programs.  Clean them
up, and update some of the cmake/automake files as needed.
2018-06-21 23:55:11 -04:00
Mike Frysinger 660abbeb96 fix some unused variable errors when built w/out png 2017-02-15 10:57:24 -05:00
Gilles Espinasse a82781c820 libgd: fix unitialized warnings during make check (fixes #65)
gifanimtest.c: In function 'main':
gifanimtest.c:7: warning: unused parameter 'argc'
gifanimtest.c:7: warning: unused parameter 'argv'

gd_color_map_test.c: In function 'main':
gd_color_map_test.c:10: warning: unused parameter 'argc'
gd_color_map_test.c:10: warning: unused parameter 'argv'

circletexttest.c: In function 'main':
circletexttest.c:8: warning: unused parameter 'argc'
circletexttest.c:8: warning: unused parameter 'argv'

fontsizetest.c: In function 'main':
fontsizetest.c:79: warning: unused parameter 'argc'
fontsizetest.c:79: warning: unused parameter 'argv'

fontwheeltest.c: In function 'main':
fontwheeltest.c:116: warning: unused parameter 'argc'
fontwheeltest.c:116: warning: unused parameter 'argv'

testtr.c: In function 'main':
testtr.c:12: warning: unused parameter 'argc'
testtr.c:12: warning: unused parameter 'argv'

Only one unused variable 'in' remain because I am lazy to add  __attribute__((unused)) when supported.

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
2013-05-27 15:16:06 +02:00
Ondřej Surý e432fcabd0 WS & CS 2013-04-30 09:14:20 +02:00
Ondřej Surý 19ef54926c Don't use gd_error outside of main library 2013-04-22 16:43:39 +02:00
Ondřej Surý 32b1307c62 Use custom error handler instead of fprintf(stderr, ...) 2013-04-18 08:28:36 +02:00
pierrejoye e20413bf6b - apply same CS everywhere 2013-04-03 14:23:11 +02:00
pierre 84c9fba8d3 - sync to 2.0.32 2006-04-05 15:55:27 +00:00
pierre 1fd2ca4206 - sync to 2.0.29 2006-04-05 15:54:21 +00:00
pierre f8f9265f02 - sync to 2.0.28 2006-04-05 15:53:57 +00:00
pierre cfa7ee3b92 - sync to 2.0.26 2006-04-05 15:53:17 +00:00