jsoninfo: remove unused variable
authorFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 11 May 2012 08:17:50 +0000 (10:17 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 11 May 2012 08:17:58 +0000 (10:17 +0200)
src/olsrd_jsoninfo.c: In function ‘ipc_print_gateways’:
src/olsrd_jsoninfo.c:678:23: warning: unused variable ‘lqbuf’ [-Wunused-variable]

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/jsoninfo/src/olsrd_jsoninfo.c

index 4174b86..243d1c5 100644 (file)
@@ -675,7 +675,6 @@ ipc_print_gateways(struct autobuf *abuf)
 
   struct ipaddr_str buf;
   struct gateway_entry *gw;
-  struct lqtextbuffer lqbuf;
 
   abuf_json_open_array(abuf, "gateways");
   OLSR_FOR_ALL_GATEWAY_ENTRIES(gw) {