From 400fcb9e0453e036ca396eaf8190fb1a0e83ff5c Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 7 Apr 2012 02:03:29 +0200 Subject: [PATCH] Removed dead code: function rdbSaveTime() is no longer used since RDB now saves expires in milliseconds. --- src/rdb.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/rdb.c b/src/rdb.c index 481efe9de..6736d8fcb 100644 --- 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;