summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();