mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
redis-check-rdb: initialize entry in case while is never entered.
This commit is contained in:
parent
79fa67cdb8
commit
6502947a85
@ -545,7 +545,7 @@ static void printErrorStack(entry *e) {
|
||||
|
||||
void process(void) {
|
||||
uint64_t num_errors = 0, num_valid_ops = 0, num_valid_bytes = 0;
|
||||
entry entry;
|
||||
entry entry = { NULL, -1, 0 };
|
||||
int dump_version = processHeader();
|
||||
|
||||
/* Exclude the final checksum for RDB >= 5. Will be checked at the end. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user