Skip to content

Commit

Permalink
remove unused parameter warnings from compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikvs authored and maximevince committed Oct 27, 2015
1 parent 44c5e33 commit d4e3539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/pico_dev_tap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/pico_slaacv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d4e3539

Please sign in to comment.