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
20fb91fd
Commit
20fb91fd
authored
Nov 05, 2013
by
antirez
Browse files
removed not used vars in dictScan().
parent
6cf230ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dict.c
View file @
20fb91fd
...
@@ -751,7 +751,6 @@ unsigned long dictScan(dict *d,
...
@@ -751,7 +751,6 @@ unsigned long dictScan(dict *d,
{
{
dictht
*
t0
,
*
t1
;
dictht
*
t0
,
*
t1
;
const
dictEntry
*
de
;
const
dictEntry
*
de
;
unsigned
long
s0
,
s1
;
unsigned
long
m0
,
m1
;
unsigned
long
m0
,
m1
;
if
(
dictSize
(
d
)
==
0
)
return
0
;
if
(
dictSize
(
d
)
==
0
)
return
0
;
...
@@ -777,8 +776,6 @@ unsigned long dictScan(dict *d,
...
@@ -777,8 +776,6 @@ unsigned long dictScan(dict *d,
t1
=
&
d
->
ht
[
0
];
t1
=
&
d
->
ht
[
0
];
}
}
s0
=
t0
->
size
;
s1
=
t1
->
size
;
m0
=
t0
->
sizemask
;
m0
=
t0
->
sizemask
;
m1
=
t1
->
sizemask
;
m1
=
t1
->
sizemask
;
...
...
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