[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:
Arthur Lee 2024-05-10 05:26:45 +08:00 committed by GitHub
parent b166980c8e
commit 2559f64f5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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