Commit Graph

14 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
Christoph M. Becker 7a3a2da3d9 Fix potential build error
Without JPEG support `in` is unused, and causes a build failure due to
`-Werror`.
2016-09-03 19:12:58 +02:00
Jitendar Kumar 78dad445b3 circletexttest: check image creation return value
In circletexttest.c, return value of gdImageCreateFromJpeg() and
gdImageCreateTrueColor() must be checked before dereferencing.
2015-12-23 11:54:33 -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ý fe2b2df68f Don't use undeclared exit() 2013-04-22 16:43:39 +02:00
pierrejoye e20413bf6b - apply same CS everywhere 2013-04-03 14:23:11 +02:00
mattias 1e0965e59e - ws + cs 2007-12-22 08:37:35 +00:00
pajoye 3dc357330d - double config.h include removed (Edin) 2007-01-12 13:00:16 +00:00
pierre e15b17f24f - sync to 2.0.33 2006-04-05 15:55:57 +00:00
pierre 0c31694114 - sync to 2.0.29 2006-04-05 15:54:20 +00:00
pierre 0a3439a3e7 - sync to 2.0.23 2006-04-05 15:51:53 +00:00
pierre 480330b083 - sync to 2.0.22 2006-04-05 15:51:24 +00:00
pierre e9f70fd6d4 - sync to 2.0.18 2006-04-05 15:50:00 +00:00
pierre f505eacdb8 - sync to 2.0.17 2006-04-05 15:49:38 +00:00