From 870d3e75ca4e220e431683906b616dfbdd164cdc Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 19 Oct 2013 23:46:09 +0200 Subject: [PATCH] Remove dead comparison (size_t < 0) --- ext/standard/password.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/password.c b/ext/standard/password.c index ca852038a6..9c5280a4cb 100644 --- a/ext/standard/password.c +++ b/ext/standard/password.c @@ -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; } -- 2.40.0