diff options
author | Binbin <binloveplay1314@qq.com> | 2022-07-07 11:31:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 20:31:59 -0700 |
commit | 8203461120bf244e5c0576222c6aa5d986587bca (patch) | |
tree | 60690bb3db078745af9412f43200c854b31cc9c5 /src/rdb.c | |
parent | 0a2e51f9aeb2e9b4178afa26932eb6496fd993f7 (diff) | |
download | redis-8203461120bf244e5c0576222c6aa5d986587bca.tar.gz |
Fix some outdated comments and some typo (#10946)
* Fix some outdated comments and some typo
Diffstat (limited to 'src/rdb.c')
-rw-r--r-- | src/rdb.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1160,7 +1160,6 @@ ssize_t rdbSaveAuxFieldStrInt(rio *rdb, char *key, long long val) { /* Save a few default AUX fields with information about the RDB generated. */ int rdbSaveInfoAuxFields(rio *rdb, int rdbflags, rdbSaveInfo *rsi) { - UNUSED(rdbflags); int redis_bits = (sizeof(void*) == 8) ? 64 : 32; int aof_base = (rdbflags & RDBFLAGS_AOF_PREAMBLE) != 0; @@ -3247,7 +3246,7 @@ eoferr: * to do the actual loading. Moreover the ETA displayed in the INFO * output is initialized and finalized. * - * If you pass an 'rsi' structure initialized with RDB_SAVE_OPTION_INIT, the + * If you pass an 'rsi' structure initialized with RDB_SAVE_INFO_INIT, the * loading code will fill the information fields in the structure. */ int rdbLoad(char *filename, rdbSaveInfo *rsi, int rdbflags) { FILE *fp; |