Skip to content

Cluster: remove variable causing warning - #1617

Closed
mattsta wants to merge 1 commit into
redis:unstablefrom
mattsta:remove-unused-warning
Closed

mattsta wants to merge 1 commit into
redis:unstablefrom
mattsta:remove-unused-warning

Conversation

@mattsta

@mattsta mattsta commented Mar 18, 2014

Copy link
Copy Markdown
Contributor

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;

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;
@mattsta mattsta mentioned this pull request Mar 18, 2014
@antirez

antirez commented Mar 24, 2014

Copy link
Copy Markdown
Contributor

Thank you, merged.

@antirez antirez closed this Mar 24, 2014
mattsta pushed a commit to mattsta/redis that referenced this pull request Mar 24, 2014
Cluster: remove variable causing warning
@mattsta
mattsta deleted the remove-unused-warning branch March 26, 2014 01:05
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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants