Repository navigation
Conversation
GCC-4.9 warned about this, but clang didn't.
This commit fixes warning:
sentinel.c: In function 'sentinelReceiveHelloMessages':
sentinel.c:2156:43: warning: variable 'master' set but not used [-Wunused-but-set-variable]
sentinelRedisInstance *ri = c->data, *master;
Closed
Contributor
|
Thank you, merged. |
mattsta
pushed a commit
to mattsta/redis
that referenced
this pull request
Mar 24, 2014
Cluster: remove variable causing warning
YaacovHazan
pushed a commit
that referenced
this pull request
Jul 16, 2026
## Changelog ### RedisJSON [v8.9.81...v8.9.90](RedisJSON/RedisJSON@v8.9.81...v8.9.90) - MOD-16300 perf(json_path): materialize filter literals once per query ([#1615](RedisJSON/RedisJSON#1615)) - MOD-16608 Bump ijson (reduce object memory) ([#1617](RedisJSON/RedisJSON#1617)) - MOD-16274 | MOD-16275 add size/sizeof and empty operators on object ([#1618](RedisJSON/RedisJSON#1618)) - MOD-16685 Add RedisJSON API to open from RedisModuleKey ([#1619](https://github.com/RedisJSON/RedisJSON/pull/1619)/[#1620](https://github.com/RedisJSON/RedisJSON/pull/1620)) ### RedisBloom [v8.9.81...v8.9.90](RedisBloom/RedisBloom@v8.9.81...v8.9.90) - No functional changes — version bump only ([#1033](RedisBloom/RedisBloom#1033))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GCC-4.9 warned about this, but clang didn't.
This commit fixes warning:
sentinel.c: In function 'sentinelReceiveHelloMessages':
sentinel.c:2156:43: warning: variable 'master' set but not used [-Wunused-but-set-variable]
sentinelRedisInstance *ri = c->data, *master;