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;
}