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
740eee1c
Commit
740eee1c
authored
Aug 26, 2010
by
Pieter Noordhuis
Browse files
Fix type that was not renamed and compiler warning
parent
674492bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/intset.c
View file @
740eee1c
...
@@ -151,7 +151,7 @@ static void intsetMoveTail(intset *is, uint32_t from, uint32_t to) {
...
@@ -151,7 +151,7 @@ static void intsetMoveTail(intset *is, uint32_t from, uint32_t to) {
/* Insert an integer in the intset */
/* Insert an integer in the intset */
intset
*
intsetAdd
(
intset
*
is
,
int64_t
value
,
uint8_t
*
success
)
{
intset
*
intsetAdd
(
intset
*
is
,
int64_t
value
,
uint8_t
*
success
)
{
uint8_t
valenc
=
_intsetValueEncoding
(
value
);
uint8_t
valenc
=
_intsetValueEncoding
(
value
);
uint32_t
pos
,
offset
;
uint32_t
pos
;
if
(
success
)
*
success
=
1
;
if
(
success
)
*
success
=
1
;
/* Upgrade encoding if necessary. If we need to upgrade, we know that
/* Upgrade encoding if necessary. If we need to upgrade, we know that
...
...
src/t_set.c
View file @
740eee1c
...
@@ -81,7 +81,7 @@ int setTypeIsMember(robj *subject, robj *value) {
...
@@ -81,7 +81,7 @@ int setTypeIsMember(robj *subject, robj *value) {
}
}
setTypeIterator
*
setTypeInitIterator
(
robj
*
subject
)
{
setTypeIterator
*
setTypeInitIterator
(
robj
*
subject
)
{
setTypeIterator
*
si
=
zmalloc
(
sizeof
(
setIterator
));
setTypeIterator
*
si
=
zmalloc
(
sizeof
(
set
Type
Iterator
));
si
->
subject
=
subject
;
si
->
subject
=
subject
;
si
->
encoding
=
subject
->
encoding
;
si
->
encoding
=
subject
->
encoding
;
if
(
si
->
encoding
==
REDIS_ENCODING_HT
)
{
if
(
si
->
encoding
==
REDIS_ENCODING_HT
)
{
...
...
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