summaryrefslogtreecommitdiff
path: root/cache.c
diff options
context:
space:
mode:
authorTrond Norbye <Trond.Norbye@sun.com>2009-11-04 11:46:29 +0100
committerDustin Sallings <dustin@spy.net>2009-11-04 10:32:00 -0800
commit8c0a108339bf8635354d6f5e44a492b8e560d31d (patch)
tree43b65500f34d64f9c45590e576ea8098deaab4a1 /cache.c
parent24869322da6262588d40eb6b12427feed929aede (diff)
downloadmemcached-8c0a108339bf8635354d6f5e44a492b8e560d31d.tar.gz
Fix compilation warning1.4.3
Diffstat (limited to 'cache.c')
-rw-r--r--cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cache.c b/cache.c
index 636cf45..30355c5 100644
--- a/cache.c
+++ b/cache.c
@@ -49,8 +49,9 @@ static inline void* get_object(void *ptr) {
#ifndef NDEBUG
uint64_t *pre = ptr;
return pre + 1;
-#endif
+#else
return ptr;
+#endif
}
void cache_destroy(cache_t *cache) {