From 8a355d697a957d0c413a9c020d795959a985fd6f Mon Sep 17 00:00:00 2001 From: hrothgar Date: Thu, 4 Jun 2009 18:48:26 +0000 Subject: [PATCH] remove die() :-) --- redis.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/redis.c b/redis.c index a1d3c7223..01ab9158e 100644 --- a/redis.c +++ b/redis.c @@ -171,11 +171,6 @@ /* Anti-warning macro... */ #define REDIS_NOTUSED(V) ((void) V) -int die() { - char *err = NULL; - sprintf(err, "gonner"); - return 0; -} /*================================= Data types ============================== */ @@ -1604,8 +1599,7 @@ static robj *createListObject(void) { static robj *createSetObject(void) { dict *d = dictCreate(&setDictType,NULL); if (!d) oom("dictCreate"); - die(); -return createObject(REDIS_SET,d); + return createObject(REDIS_SET,d); } static void freeStringObject(robj *o) {