Fix GCC warnings for INFO/WARN builds
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Wed, 1 Feb 2017 12:54:44 +0000 (13:54 +0100)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Wed, 1 Feb 2017 12:54:44 +0000 (13:54 +0100)
src-plugins/nhdp/ff_dat_metric/ff_dat_metric.c

index 2105d07..d26c316 100644 (file)
@@ -934,7 +934,9 @@ _cb_process_packet(struct rfc5444_reader_tlvblock_context *context) {
   int total;
 
   struct netaddr_str nbuf;
+#ifdef OONF_LOG_DEBUG_INFO
   struct isonumber_str timebuf;
+#endif
 
   if (!context->has_pktseqno) {
     struct netaddr_str buf;