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
hiredis
Commits
56bbeb70
Commit
56bbeb70
authored
Nov 22, 2010
by
Pieter Noordhuis
Browse files
Abort on code path that should never be taken
parent
b6b96f77
Changes
1
Show whitespace changes
Inline
Side-by-side
hiredis.c
View file @
56bbeb70
...
...
@@ -368,8 +368,7 @@ static int processItem(redisReader *r) {
case
REDIS_REPLY_ARRAY
:
return
processMultiBulkItem
(
r
);
default:
redisSetReplyReaderError
(
r
,
sdscatprintf
(
sdsempty
(),
"unknown item type '%d'"
,
cur
->
type
));
assert
(
NULL
);
return
-
1
;
}
}
...
...
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