]> git.saurik.com Git - redis.git/commitdiff
Removed dead code: function rdbSaveTime() is no longer used since RDB now saves expir...
authorantirez <antirez@gmail.com>
Sat, 7 Apr 2012 00:03:29 +0000 (02:03 +0200)
committerantirez <antirez@gmail.com>
Sat, 7 Apr 2012 00:03:29 +0000 (02:03 +0200)
src/rdb.c

index 481efe9de8be2fd6ad73762d66dbd9e2f0c69abc..6736d8fcb105b9104cd14f49c7a245ace4209ad0 100644 (file)
--- a/src/rdb.c
+++ b/src/rdb.c
@@ -26,11 +26,6 @@ int rdbLoadType(rio *rdb) {
     return type;
 }
 
-int rdbSaveTime(rio *rdb, time_t t) {
-    int32_t t32 = (int32_t) t;
-    return rdbWriteRaw(rdb,&t32,4);
-}
-
 time_t rdbLoadTime(rio *rdb) {
     int32_t t32;
     if (rioRead(rdb,&t32,4) == 0) return -1;