Skip to content

Add const qualifier to config name parameter in RM_RegisterBoolConfig()#10733

Merged
oranagra merged 1 commit intoredis:unstablefrom
tezc:const-char
May 16, 2022
Merged

Add const qualifier to config name parameter in RM_RegisterBoolConfig()#10733
oranagra merged 1 commit intoredis:unstablefrom
tezc:const-char

Conversation

@tezc
Copy link
Collaborator

@tezc tezc commented May 16, 2022

Added const qualifier to config name parameter just to avoid compile warnings/errors. RM_RegisterBoolConfig() already expects const char*, so, I think this is just a typo in redismodule.h.

@oranagra oranagra merged commit f62d52a into redis:unstable May 16, 2022
@tezc tezc deleted the const-char branch May 16, 2022 11:58
enjoy-binbin pushed a commit to enjoy-binbin/redis that referenced this pull request Jul 31, 2023
…() (redis#10733)

was present in the C file and missing in the header.
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