X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/edf23aff0e316908b5d4ed1f2b21800865c6f7bf..38c06fa037dbb49b6e7c28df5b1fb566d504ba61:/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. */