1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00

Never mind on the error check

This commit is contained in:
Rasmus Lerdorf
2000-05-01 22:14:54 +00:00
parent 0d36199cf9
commit 0628b33278

View File

@@ -1463,10 +1463,6 @@ static void php_imagepolygon(INTERNAL_FUNCTION_PARAMETERS, int filled) {
}
points = (gdPointPtr) emalloc(npoints * sizeof(gdPoint));
if (points == NULL) {
php_error(E_WARNING, "ImagePolygon: Memory allocation fault");
RETURN_FALSE;
}
for (i = 0; i < npoints; i++) {
if (zend_hash_index_find((*POINTS)->value.ht, (i * 2), (void **) &var) == SUCCESS) {