[or-cvs] Nobody was using the return values from smartlist_(set|del|...
Nick Mathewson
nickm at seul.org
Fri Nov 12 21:14:08 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv9863/src/or
Modified Files:
test.c
Log Message:
Nobody was using the return values from smartlist_(set|del|del_keeporder), so remove them.
Index: test.c
===================================================================
RCS file: /home/or/cvsroot/src/or/test.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- test.c 12 Nov 2004 19:39:13 -0000 1.146
+++ test.c 12 Nov 2004 21:14:06 -0000 1.147
@@ -545,7 +545,7 @@
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);
More information about the tor-commits
mailing list