diff --git a/modules/pico_dev_tap.c b/modules/pico_dev_tap.c index 6998cf48b..b80ea6df7 100644 --- a/modules/pico_dev_tap.c +++ b/modules/pico_dev_tap.c @@ -41,7 +41,7 @@ static void sig_handler(int signo) link_state = 1; } -static int tap_link_state(struct pico_device *self) +static int tap_link_state(__attribute__((unused)) struct pico_device *self) { return link_state; } diff --git a/modules/pico_slaacv4.c b/modules/pico_slaacv4.c index ff9b33d1b..f9ac2161b 100644 --- a/modules/pico_slaacv4.c +++ b/modules/pico_slaacv4.c @@ -177,7 +177,7 @@ static void pico_slaacv4_receive_ipconflict(int reason) } -static void pico_slaacv4_hotplug_cb(struct pico_device *dev, int event) +static void pico_slaacv4_hotplug_cb(__attribute__((unused)) struct pico_device *dev, int event) { struct slaacv4_cookie *tmp = &slaacv4_local;