Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d725ed

Browse files
committed
redis.c:2350:17: warning: variable 'type' set but not used
1 parent 83053ea commit 0d725ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redis.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2347,10 +2347,9 @@ PHPAPI int generic_multiple_args_cmd(INTERNAL_FUNCTION_PARAMETERS, char *keyword
23472347
char *key;
23482348
unsigned int key_len;
23492349
unsigned long idx;
2350-
int type;
23512350
zval **z_value_pp;
23522351

2353-
type = zend_hash_get_current_key_ex(keytable, &key, &key_len, &idx, 0, NULL);
2352+
zend_hash_get_current_key_ex(keytable, &key, &key_len, &idx, 0, NULL);
23542353
if(zend_hash_get_current_data(keytable, (void**)&z_value_pp) == FAILURE) {
23552354
continue; /* this should never happen, according to the PHP people. */
23562355
}

0 commit comments

Comments
 (0)