[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] remove a never-used smartlist in routerlist.c



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv8264/src/or

Modified Files:
	routerlist.c 
Log Message:
remove a never-used smartlist in routerlist.c

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.321
retrieving revision 1.322
diff -u -d -r1.321 -r1.322
--- routerlist.c	30 Sep 2005 21:22:25 -0000	1.321
+++ routerlist.c	30 Sep 2005 21:38:45 -0000	1.322
@@ -64,7 +64,7 @@
 {
   char filename[512];
   struct stat st;
-  smartlist_t *entries, *bad_names;
+  smartlist_t *entries;
   char *s;
   tor_assert(get_options()->DataDirectory);
   if (!networkstatus_list)
@@ -73,7 +73,6 @@
   tor_snprintf(filename,sizeof(filename),"%s/cached-status",
                get_options()->DataDirectory);
   entries = tor_listdir(filename);
-  bad_names = smartlist_create();
   SMARTLIST_FOREACH(entries, const char *, fn, {
       char buf[DIGEST_LEN];
       if (strlen(fn) != HEX_DIGEST_LEN ||