mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
Fix dead assignment
This commit is contained in:
committed by
Michael Grunder
parent
8be2306e4f
commit
d564e8cf3c
+1
-1
@@ -4583,7 +4583,7 @@ redis_geosearch_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
|
||||
}
|
||||
}
|
||||
|
||||
if ((argc = gopts.withcoord + gopts.withdist + gopts.withhash) > 0) {
|
||||
if (gopts.withcoord + gopts.withdist + gopts.withhash > 0) {
|
||||
*ctx = PHPREDIS_CTX_PTR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user