Skip to content

Commit 0f97ab0

Browse files
Fix bug where we were failing to initialize count
1 parent ec8a37a commit 0f97ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_cluster.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2388,7 +2388,7 @@ static void cluster_kscan_cmd(INTERNAL_FUNCTION_PARAMETERS,
23882388
zval *z_it;
23892389
HashTable *hash;
23902390
long it, num_ele;
2391-
zend_long count;
2391+
zend_long count=0;
23922392

23932393
// Can't be in MULTI mode
23942394
if(!CLUSTER_IS_ATOMIC(c)) {

0 commit comments

Comments
 (0)