Commit f02aa7bb authored by antirez's avatar antirez
Browse files

Removed dead code: function rdbSaveTime() is no longer used since RDB now...

Removed dead code: function rdbSaveTime() is no longer used since RDB now saves expires in milliseconds.
parent 0daf7a2d
......@@ -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;
......
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