mirror of
https://github.com/php-win-ext/phpredis.git
synced 2026-04-29 19:53:29 +02:00
Fix: library.c:743:78: warning: unused variable 'p2' (PLEASE CHECK)
This commit is contained in:
@@ -774,8 +774,8 @@ PHPAPI void redis_client_list_reply(INTERNAL_FUNCTION_PARAMETERS, RedisSock *red
|
||||
|
||||
// Treat numbers as numbers, strings as strings
|
||||
is_numeric = 1;
|
||||
for(p2 = value; *p; ++p) {
|
||||
if(*p < '0' || *p > '9') {
|
||||
for(p2 = value; *p2; ++p2) {
|
||||
if(*p2 < '0' || *p2 > '9') {
|
||||
is_numeric = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user