From 634bae94fbc0427032be4d1fd68b29b7d03aecb7 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 14 Jun 2011 16:22:54 +0200 Subject: [PATCH] useless call removed, thanks to Pieter for spotting this --- src/t_string.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/t_string.c b/src/t_string.c index ca3f564cf..e0b9b263d 100644 --- a/src/t_string.c +++ b/src/t_string.c @@ -73,7 +73,6 @@ void getsetCommand(redisClient *c) { c->argv[2] = tryObjectEncoding(c->argv[2]); setKey(c->db,c->argv[1],c->argv[2]); server.dirty++; - removeExpire(c->db,c->argv[1]); } static int getBitOffsetFromArgument(redisClient *c, robj *o, size_t *offset) {