From: James Moore Date: Sat, 18 Nov 2000 18:09:42 +0000 (+0000) Subject: Stopping Compile Warnings when using old GD X-Git-Tag: php-4.0.4RC3~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2116cfedf3884440553fd18ade37e7360dbb26cd;p=php Stopping Compile Warnings when using old GD --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index ac625b7726..179f853574 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -531,6 +531,8 @@ gdImagePtr _php_image_create_from_string (zval **data, char *tn, gdImagePtr (*io } return im; +#else + return NULL; #endif }