diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-08-11 14:42:50 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-08-11 14:42:50 +0200 |
commit | 62b5d0985f042c8939a664240c7e5a5216e745b4 (patch) | |
tree | ab7363a79f696b7975c62f95f3ed0b7ecdaccda4 /proto_ipv6_mobility_hdr.c | |
parent | 93b19b3f28c37fe7d0c5bbd5a927fb4cff69ce31 (diff) |
dissector: proto_ipv6: Fix compiler warnings
Mark unused parameters with __maybe_unused in order to prevent
-Wunused-parameter compiler warnings.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_ipv6_mobility_hdr.c')
-rw-r--r-- | proto_ipv6_mobility_hdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_ipv6_mobility_hdr.c b/proto_ipv6_mobility_hdr.c index 57e587f..33994e1 100644 --- a/proto_ipv6_mobility_hdr.c +++ b/proto_ipv6_mobility_hdr.c @@ -78,7 +78,7 @@ struct bind_err_msg { } __packed; -static void dissect_mobility_options(struct pkt_buff *pkt, +static void dissect_mobility_options(struct pkt_buff *pkt __maybe_unused, ssize_t *message_data_len) { /* Have to been upgraded. |