From: antirez Date: Tue, 14 Jun 2011 14:22:54 +0000 (+0200) Subject: useless call removed, thanks to Pieter for spotting this X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/634bae94fbc0427032be4d1fd68b29b7d03aecb7 useless call removed, thanks to Pieter for spotting this --- diff --git a/src/t_string.c b/src/t_string.c index ca3f564c..e0b9b263 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) {