summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-12 21:14:06 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-12 21:14:06 +0000
commita8f9ba91db3d326b9b6ff67c35e7b52ae11d08c4 (patch)
tree8ff5ebd3c6f215674d87c5792610046dd249156e /src/or/test.c
parent238a895e69ff9280555a922ccc2ad0ca55da2591 (diff)
downloadtor-a8f9ba91db3d326b9b6ff67c35e7b52ae11d08c4.tar.gz
tor-a8f9ba91db3d326b9b6ff67c35e7b52ae11d08c4.zip
Nobody was using the return values from smartlist_(set|del|del_keeporder), so remove them.
svn:r2823
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 5bf99917a7..056ec93004 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -545,7 +545,7 @@ test_util(void) {
smartlist_add(sl, (void*)2);
smartlist_add(sl, (void*)3);
smartlist_add(sl, (void*)4);
- test_eq((void*)2, smartlist_del_keeporder(sl, 1));
+ smartlist_del_keeporder(sl, 1);
smartlist_insert(sl, 1, (void*)22);
smartlist_insert(sl, 0, (void*)0);
smartlist_insert(sl, 5, (void*)555);