Fix dead assignment

This commit is contained in:
michael-grunder
2025-08-14 09:33:37 -07:00
committed by Michael Grunder
parent 8be2306e4f
commit d564e8cf3c
+1 -1
View File
@@ -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;
}