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

Skip to content

Commit 518599f

Browse files
committed
redis.c:2273:11: warning: variable 'object' set but not used
1 parent 297d83e commit 518599f

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
@@ -2270,7 +2270,7 @@ PHP_METHOD(Redis, sMembers)
22702270
PHPAPI int generic_multiple_args_cmd(INTERNAL_FUNCTION_PARAMETERS, char *keyword, int keyword_len,
22712271
int min_argc, RedisSock **out_sock, int has_timeout, int all_keys, int can_serialize)
22722272
{
2273-
zval *object, **z_args, *z_array;
2273+
zval **z_args, *z_array;
22742274
char **keys, *cmd;
22752275
int cmd_len, *keys_len, *keys_to_free;
22762276
int i, j, argc = ZEND_NUM_ARGS(), real_argc = 0;
@@ -2459,7 +2459,6 @@ PHPAPI int generic_multiple_args_cmd(INTERNAL_FUNCTION_PARAMETERS, char *keyword
24592459

24602460
if(z_args) efree(z_args);
24612461

2462-
object = getThis();
24632462
/*
24642463
cmd[cmd_len] = 0;
24652464
php_printf("cmd=[%s]\n", cmd);

0 commit comments

Comments
 (0)