Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
6502947a
Commit
6502947a
authored
Jan 30, 2015
by
antirez
Browse files
redis-check-rdb: initialize entry in case while is never entered.
parent
79fa67cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-check-rdb.c
View file @
6502947a
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment