Commit 6502947a authored by antirez's avatar antirez
Browse files

redis-check-rdb: initialize entry in case while is never entered.

parent 79fa67cd
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment