Skip to content

Commit

Permalink
[FIX] Remove redundant statement and return (valkey-io#481)
Browse files Browse the repository at this point in the history
* `freeClientArgv` was previously defined in `server.h`
* remove the redundant return

Signed-off-by: arthur.lee <arthur-lee@qq.com>
  • Loading branch information
arthurkiller authored and srgsanky committed May 19, 2024
1 parent cd915dd commit 8aaa14b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/aof.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#include <sys/wait.h>
#include <sys/param.h>

void freeClientArgv(client *c);
off_t getAppendOnlyFileSize(sds filename, int *status);
off_t getBaseAndIncrAppendOnlyFilesSize(aofManifest *am, int *status);
int getBaseAndIncrAppendOnlyFilesNum(aofManifest *am);
Expand Down Expand Up @@ -701,7 +700,6 @@ void aofDelTempIncrAofFile(void) {
bg_unlink(aof_filepath);
sdsfree(aof_filepath);
sdsfree(aof_filename);
return;
}

/* Called after `loadDataFromDisk` when the server starts. If `server.aof_state` is
Expand Down

0 comments on commit 8aaa14b

Please sign in to comment.