mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 19:51:22 +00:00
removed a number of stupid compilation warnings on Linux
This commit is contained in:
@ -374,14 +374,14 @@ void zipmapRepr(unsigned char *p) {
|
||||
l = zipmapDecodeLength(p);
|
||||
printf("{key %u}",l);
|
||||
p += zipmapEncodeLength(NULL,l);
|
||||
fwrite(p,l,1,stdout);
|
||||
if (l != 0 && fwrite(p,l,1,stdout) == 0) perror("fwrite");
|
||||
p += l;
|
||||
|
||||
l = zipmapDecodeLength(p);
|
||||
printf("{value %u}",l);
|
||||
p += zipmapEncodeLength(NULL,l);
|
||||
e = *p++;
|
||||
fwrite(p,l,1,stdout);
|
||||
if (l != 0 && fwrite(p,l,1,stdout) == 0) perror("fwrite");
|
||||
p += l+e;
|
||||
if (e) {
|
||||
printf("[");
|
||||
|
Reference in New Issue
Block a user