Skip to content

Commit 02bac74

Browse files
Initialize agg_op_len to zero
1 parent 3923531 commit 02bac74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4363,7 +4363,7 @@ PHPAPI void generic_z_command(INTERNAL_FUNCTION_PARAMETERS, char *command, int c
43634363
smart_str cmd = {0};
43644364
HashPosition ptr;
43654365
char *store_key, *agg_op = NULL;
4366-
int cmd_arg_count = 2, store_key_len, agg_op_len, keys_count;
4366+
int cmd_arg_count = 2, store_key_len, agg_op_len = 0, keys_count;
43674367

43684368
// Grab our parameters
43694369
if(zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Osa|a!s",

0 commit comments

Comments
 (0)