summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-10-30 19:10:46 +0100
committerantirez <antirez@gmail.com>2012-10-30 19:10:56 +0100
commit5bf0997ff879bf8668939d6b9e8a6eb877750c09 (patch)
tree042a538c7fc66a60aab995c5f7ba832ed1d79ed6
parentec0f483de2ffe41ecb26a485d6b424c3126438fe (diff)
downloadredis-5bf0997ff879bf8668939d6b9e8a6eb877750c09.tar.gz
No longer used macro rdbIsOpcode() removed.
-rw-r--r--src/rdb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rdb.h b/src/rdb.h
index 37f447456..1c07994f7 100644
--- a/src/rdb.h
+++ b/src/rdb.h
@@ -62,9 +62,6 @@
#define REDIS_RDB_OPCODE_SELECTDB 254
#define REDIS_RDB_OPCODE_EOF 255
-/* Test if a type is an opcode. */
-#define rdbIsOpcode(t) (t >= 253 && t <= 255)
-
int rdbSaveType(rio *rdb, unsigned char type);
int rdbLoadType(rio *rdb);
int rdbSaveTime(rio *rdb, time_t t);