olsrd_txtinfo: remove unused variable
authorFerry Huberts <f.huberts@mindef.nl>
Thu, 9 Jun 2011 11:08:16 +0000 (13:08 +0200)
committerFerry Huberts <f.huberts@mindef.nl>
Thu, 9 Jun 2011 14:35:52 +0000 (16:35 +0200)
src/olsrd_txtinfo.c:450:7: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
lib/txtinfo/src/olsrd_txtinfo.c

index 9bf0f14..5ca962f 100644 (file)
@@ -447,14 +447,11 @@ ipc_print_topology(struct autobuf *abuf)
 static void
 ipc_print_hna(struct autobuf *abuf)
 {
-  int size;
   struct ip_prefix_list *hna;
   struct hna_entry *tmp_hna;
   struct hna_net *tmp_net;
   struct ipaddr_str buf, mainaddrbuf;
 
-  size = 0;
-
 #ifdef ACTIVATE_VTIME_TXTINFO
   abuf_puts(abuf, "Table: HNA\nDestination\tGateway\tVTime\n");
 #else