From 921a3c8a7b9a47415d5ef23164e9e895057af866 Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Thu, 1 Oct 2015 12:01:05 +0200 Subject: [PATCH] native platform: removed unused variable --- platform/native/contiki-main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/native/contiki-main.c b/platform/native/contiki-main.c index 780dce7c6..9c4639b16 100644 --- a/platform/native/contiki-main.c +++ b/platform/native/contiki-main.c @@ -84,7 +84,9 @@ static int select_max = 0; SENSORS(&pir_sensor, &vib_sensor, &button_sensor); static uint8_t serial_id[] = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08}; +#if !NETSTACK_CONF_WITH_IPV6 static uint16_t node_id = 0x0102; +#endif /* !NETSTACK_CONF_WITH_IPV6 */ /*---------------------------------------------------------------------------*/ int select_set_callback(int fd, const struct select_callback *callback)