projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
01fe715
)
remove die() :-)
author
hrothgar
<hrothgar@localhost.(none)>
Thu, 4 Jun 2009 18:48:26 +0000
(18:48 +0000)
committer
hrothgar
<hrothgar@localhost.(none)>
Thu, 4 Jun 2009 18:48:26 +0000
(18:48 +0000)
redis.c
patch
|
blob
|
blame
|
history
diff --git
a/redis.c
b/redis.c
index a1d3c722334ac573a7474e4f5f1e835d47f8d043..01ab9158ef584d68c488f996cef7e7091a04bd8e 100644
(file)
--- a/
redis.c
+++ b/
redis.c
@@
-171,11
+171,6
@@
/* Anti-warning macro... */
#define REDIS_NOTUSED(V) ((void) V)
/* Anti-warning macro... */
#define REDIS_NOTUSED(V) ((void) V)
-int die() {
- char *err = NULL;
- sprintf(err, "gonner");
- return 0;
-}
/*================================= Data types ============================== */
/*================================= Data types ============================== */
@@
-1604,8
+1599,7
@@
static robj *createListObject(void) {
static robj *createSetObject(void) {
dict *d = dictCreate(&setDictType,NULL);
if (!d) oom("dictCreate");
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) {
}
static void freeStringObject(robj *o) {