[FIX] Remove redundant statement and return (#481)
* `freeClientArgv` was previously defined in `server.h` * remove the redundant return Signed-off-by: arthur.lee <arthur-lee@qq.com>
This commit is contained in:
parent
b166980c8e
commit
2559f64f5a
@ -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);
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user