remove useless check

This commit is contained in:
Anatol Belski 2014-09-18 21:49:08 +02:00
parent 6beb91c202
commit 3fa5064173

View File

@ -59,10 +59,6 @@ PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) /
unsigned char *p;
zend_string *result;
if (length < 0) {
return NULL;
}
result = zend_string_alloc(((length + 2) / 3) * 4 * sizeof(char), 0);
p = (unsigned char *)result->val;