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
b44f1589
Commit
b44f1589
authored
Oct 25, 2013
by
antirez
Browse files
SCAN: remove useless assertion, already enforced by command table.
parent
d1c1f62e
Changes
1
Show whitespace changes
Inline
Side-by-side
src/db.c
View file @
b44f1589
...
...
@@ -327,8 +327,6 @@ void scanCommand(redisClient *c) {
sds
pat
;
int
patlen
,
patnoop
=
1
;
redisAssert
(
c
->
argc
>=
2
);
/* Use sscanf because we need an *unsigned* long */
rv
=
sscanf
(
c
->
argv
[
1
]
->
ptr
,
"%lu"
,
&
cursor
);
if
(
rv
!=
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