X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/bfe85f7ca97259256e8089349e1a462b6c7dbd00..e074416be49947c7bab5e237fab7210441bd99e5:/src/ziplist.c diff --git a/src/ziplist.c b/src/ziplist.c index f5f9e9a6..639e4b61 100644 --- a/src/ziplist.c +++ b/src/ziplist.c @@ -489,7 +489,9 @@ static unsigned char *__ziplistInsert(unsigned char *zl, unsigned char *p, unsig size_t offset; int nextdiff = 0; unsigned char encoding = 0; - long long value; + long long value = 123456789; /* initialized to avoid warning. Using a value + that is easy to see if for some reason + we use it uninitialized. */ zlentry entry, tail; /* Find out prevlen for the entry that is inserted. */