From: Marcus Boerger Date: Tue, 27 Aug 2002 20:10:46 +0000 (+0000) Subject: Some requirements engineering: today necessary defines exists where X-Git-Tag: RELEASE_0_91~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ab90386cf8ec3e8490a0bda435fcc352e8f115e;p=php Some requirements engineering: today necessary defines exists where needed. --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index f443161a9b..78c67fe574 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -2699,10 +2699,7 @@ static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode, int #endif #if !HAVE_GD_STRINGFTEX - if (extended) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "gdImageStringFTEx not supported in this PHP build"); - RETURN_FALSE; - } + assert(!extended); #endif argc = ZEND_NUM_ARGS();