devicenet: fix 'buf_len' was marked unused but was used [-Wused-but-marked-unused]
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Sun, 27 Aug 2017 17:23:20 +0000 (19:23 +0200)
committerGuy Harris <guy@alum.mit.edu>
Sun, 27 Aug 2017 19:54:20 +0000 (19:54 +0000)
Change-Id: Id16edc055ed675076fe015b84bf37f1bef90ddbf
Reviewed-on: https://code.wireshark.org/review/23241
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/dissectors/packet-devicenet.c

index 747d34894cb409ec1006f2f026f2d3c29d55591d..4ef15317c64a94e2e6eef250dc701792d339e69f 100644 (file)
@@ -783,7 +783,7 @@ static int dissect_devicenet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
     return tvb_captured_length(tvb);
 }
 
-static int devicenet_addr_to_str(const address* addr, gchar *buf, int buf_len _U_)
+static int devicenet_addr_to_str(const address* addr, gchar *buf, int buf_len)
 {
     const guint8 *addrdata = (const guint8 *)addr->data;