summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-27 20:10:46 +0000
committerMarcus Boerger <helly@php.net>2002-08-27 20:10:46 +0000
commit1ab90386cf8ec3e8490a0bda435fcc352e8f115e (patch)
treebdc44e9302798d2b13b100436a326b221ddbd0d7
parentd1b56bf8106ca67e893c20d23263094797a2bdd5 (diff)
downloadphp-git-1ab90386cf8ec3e8490a0bda435fcc352e8f115e.tar.gz
Some requirements engineering: today necessary defines exists where
needed.
-rw-r--r--ext/gd/gd.c5
1 files changed, 1 insertions, 4 deletions
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();