1
0
mirror of https://github.com/fluencelabs/redis synced 2025-04-02 15:51:05 +00:00

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

This commit is contained in:
antirez 2012-04-07 02:03:29 +02:00
parent 0daf7a2d16
commit f02aa7bb79

@ -26,11 +26,6 @@ int rdbLoadType(rio *rdb) {
return type; 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) { time_t rdbLoadTime(rio *rdb) {
int32_t t32; int32_t t32;
if (rioRead(rdb,&t32,4) == 0) return -1; if (rioRead(rdb,&t32,4) == 0) return -1;