summaryrefslogtreecommitdiff
path: root/assoc.c
diff options
context:
space:
mode:
authorBrad Fitzpatrick <brad@danga.com>2003-06-27 18:06:57 +0000
committerBrad Fitzpatrick <brad@danga.com>2003-06-27 18:06:57 +0000
commitc08383af0f60512fd74dcbf1a2646215d3d79666 (patch)
tree46d070c0e610dfc1008837719d4ebf965eb406c6 /assoc.c
parent1baa8961cdcdfaf745cad4bd5ad5e0c86f7dfd75 (diff)
downloadmemcached-c08383af0f60512fd74dcbf1a2646215d3d79666.tar.gz
more debug asserts
git-svn-id: http://code.sixapart.com/svn/memcached/trunk@53 b0b603af-a30f-0410-a34e-baf09ae79d0b
Diffstat (limited to 'assoc.c')
-rw-r--r--assoc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/assoc.c b/assoc.c
index 2150524..16ebea3 100644
--- a/assoc.c
+++ b/assoc.c
@@ -181,6 +181,7 @@ void assoc_delete(char *key) {
return;
}
/* Note: we never actually get here. the callers don't delete things
- they can't find. TODO: assert? */
+ they can't find. */
+ assert(*before != 0);
}