[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Nobody was using the return values from smartlist_(set|del|...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Nobody was using the return values from smartlist_(set|del|...
- From: nickm@seul.org (Nick Mathewson)
- Date: Fri, 12 Nov 2004 16:14:08 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 12 Nov 2004 16:14:47 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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);