Merge pull request #2809 from authmillenon/netreg_hdr/fix/unused-parameters
netreg: ignore payload on default case in header build
This commit is contained in:
commit
a18e9bb443
@ -152,6 +152,7 @@ ng_pktsnip_t *ng_netreg_hdr_build(ng_nettype_t type, ng_pktsnip_t *payload,
|
||||
#endif
|
||||
|
||||
default:
|
||||
(void)payload;
|
||||
(void)src;
|
||||
(void)src_len;
|
||||
(void)dst;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user