[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Appease overzealous gcc
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv13077/src/or
Modified Files:
routerparse.c
Log Message:
Appease overzealous gcc
Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerparse.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- routerparse.c 12 Oct 2004 19:33:03 -0000 1.50
+++ routerparse.c 12 Oct 2004 20:17:45 -0000 1.51
@@ -115,7 +115,7 @@
{ "network-status", K_NETWORK_STATUS, NO_ARGS, NO_OBJ, DIR_ONLY },
{ "uptime", K_UPTIME, ARGS, NO_OBJ, RTR_ONLY },
{ "dir-signing-key", K_DIR_SIGNING_KEY, ARGS, OBJ_OK, DIR_ONLY },
- { NULL, -1 }
+ { NULL, -1, NO_ARGS, NO_OBJ, ANY }
};
/* static function prototypes */
@@ -1003,7 +1003,7 @@
struct exit_policy_t*newe;
struct in_addr in;
char *arg, *address, *mask, *port, *endptr;
- int bits, ok;
+ int bits;
tor_assert(tok->tp == K_REJECT || tok->tp == K_ACCEPT);