Powertrace: removed unused variables

This commit is contained in:
Simon Duquennoy 2015-10-01 12:08:44 +02:00
parent b7fb06052f
commit 061c7d15c4

View File

@ -287,12 +287,15 @@ output_sniffer(int mac_status)
static void
sniffprint(char *prefix, int seqno)
{
const linkaddr_t *sender, *receiver, *esender, *ereceiver;
/* const linkaddr_t *sender; */
/* const linkaddr_t *receiver; */
const linkaddr_t *esender;
/* const linkaddr_t *ereceiver; */
sender = packetbuf_addr(PACKETBUF_ADDR_SENDER);
receiver = packetbuf_addr(PACKETBUF_ADDR_RECEIVER);
/* sender = packetbuf_addr(PACKETBUF_ADDR_SENDER); */
/* receiver = packetbuf_addr(PACKETBUF_ADDR_RECEIVER); */
esender = packetbuf_addr(PACKETBUF_ADDR_ESENDER);
ereceiver = packetbuf_addr(PACKETBUF_ADDR_ERECEIVER);
/* ereceiver = packetbuf_addr(PACKETBUF_ADDR_ERECEIVER); */
printf("%lu %s %d %u %d %d %d.%d %u %u\n",