mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 01:20:50 +00:00
Merge pull request #2106 from NanXiao/unstable
Fix function prototype in redis-cli.c.
This commit is contained in:
commit
599e52d93e
@ -328,7 +328,7 @@ static void completionCallback(const char *buf, linenoiseCompletions *lc) {
|
||||
*--------------------------------------------------------------------------- */
|
||||
|
||||
/* Send AUTH command to the server */
|
||||
static int cliAuth() {
|
||||
static int cliAuth(void) {
|
||||
redisReply *reply;
|
||||
if (config.auth == NULL) return REDIS_OK;
|
||||
|
||||
@ -341,7 +341,7 @@ static int cliAuth() {
|
||||
}
|
||||
|
||||
/* Send SELECT dbnum to the server */
|
||||
static int cliSelect() {
|
||||
static int cliSelect(void) {
|
||||
redisReply *reply;
|
||||
if (config.dbnum == 0) return REDIS_OK;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user