Commit eed189ff authored by Vitaly Arbuzov's avatar Vitaly Arbuzov
Browse files

Fix spacing issue and remove invalid comment

parent f2805b2c
...@@ -377,7 +377,7 @@ robj *dbRandomKey(redisDb *db) { ...@@ -377,7 +377,7 @@ robj *dbRandomKey(redisDb *db) {
robj *keyobj; robj *keyobj;
dict *randomDict = getRandomDict(db); dict *randomDict = getRandomDict(db);
de = dictGetFairRandomKey(randomDict); de = dictGetFairRandomKey(randomDict);
if (de == NULL) return NULL; // TODO consider other non-empty slot buckets. if (de == NULL) return NULL;
key = dictGetKey(de); key = dictGetKey(de);
keyobj = createStringObject(key,sdslen(key)); keyobj = createStringObject(key,sdslen(key));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment