From f02aa7bb79ab571975d25e819dcb2a1c67b2c9c9 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 481efe9d..6736d8fc 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; -- 2.45.2