Commit cc14d7f5 authored by Nan Xiao's avatar Nan Xiao Committed by antirez
Browse files

Fix function prototype in redis-cli.c.

Fix function prototype in redis-cli.c.
parent c13d787d
......@@ -302,7 +302,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;
......@@ -315,7 +315,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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment