mirror of
https://github.com/fluencelabs/redis
synced 2025-06-17 03:01:20 +00:00
removed a number of stupid compilation warnings on Linux
This commit is contained in:
@ -1250,7 +1250,7 @@ void freeMemoryIfNeeded(void) {
|
||||
if (tryFreeOneObjectFromFreelist() == REDIS_OK) continue;
|
||||
|
||||
for (j = 0; j < server.dbnum; j++) {
|
||||
long bestval;
|
||||
long bestval = 0; /* just to prevent warning */
|
||||
sds bestkey = NULL;
|
||||
struct dictEntry *de;
|
||||
redisDb *db = server.db+j;
|
||||
|
Reference in New Issue
Block a user