1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 20:53:00 +02:00

Remove dead comparison (size_t < 0)

This commit is contained in:
Nikita Popov
2013-10-19 23:46:09 +02:00
parent 1292091670
commit 870d3e75ca

View File

@@ -183,7 +183,7 @@ PHP_FUNCTION(password_get_info)
return;
}
if (hash_len < 0 || (size_t) hash_len < 0) {
if (hash_len < 0) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Supplied password hash too long to safely identify");
RETURN_FALSE;
}