TSCH: fix compiler warning that shows up when disabling TSCH_LOG_LEVEL

This commit is contained in:
Simon Duquennoy 2016-03-07 17:42:17 +01:00
parent 8b3d220761
commit 73fcfa42c2
1 changed files with 1 additions and 0 deletions

View File

@ -936,6 +936,7 @@ send_packet(mac_callback_t sent, void *ptr)
tsch_queue_packet_count(addr),
p->header_len,
queuebuf_datalen(p->qb));
(void)packet_count_before; /* Discard "variable set but unused" warning in case of TSCH_LOG_LEVEL of 0 */
}
}
if(ret != MAC_TX_DEFERRED) {