From 3528d63cdf6a7750f067b88c15fdecdc1f0192d8 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 20 Nov 2004 07:03:27 +0000 Subject: [PATCH] add _U_ to int hf_index to reduce number of compiler warnings svn path=/trunk/; revision=12547 --- tools/asn2eth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/asn2eth.py b/tools/asn2eth.py index aa4f513925..c806385ecf 100644 --- a/tools/asn2eth.py +++ b/tools/asn2eth.py @@ -789,7 +789,7 @@ class EthCtx: out += "static " out += "int\n" if (self.OBer()): - out += "dissect_%s_%s(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {\n" % (self.eth_type[tname]['proto'], tname) + out += "dissect_%s_%s(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {\n" % (self.eth_type[tname]['proto'], tname) elif (self.NPer()): out += "dissect_%s_%s(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index, proto_item **item, void *private_data) {\n" % (self.eth_type[tname]['proto'], tname) elif (self.OPer()):