]> git.saurik.com Git - redis.git/commitdiff
Useless statement removed
authorantirez <antirez@gmail.com>
Tue, 10 May 2011 08:07:04 +0000 (10:07 +0200)
committerantirez <antirez@gmail.com>
Tue, 10 May 2011 08:07:04 +0000 (10:07 +0200)
src/aof.c

index e5327cb2d0a46af451d96ddc3bd66e5c6f01b887..ef72a2b169a007387179e5d24d4830fcbb50e047 100644 (file)
--- a/src/aof.c
+++ b/src/aof.c
@@ -348,7 +348,7 @@ int rewriteAppendOnlyFile(char *filename) {
 
         /* Iterate this DB writing every entry */
         while((de = dictNext(di)) != NULL) {
 
         /* Iterate this DB writing every entry */
         while((de = dictNext(di)) != NULL) {
-            sds keystr = dictGetEntryKey(de);
+            sds keystr;
             robj key, *o;
             time_t expiretime;
 
             robj key, *o;
             time_t expiretime;