diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-11-20 07:03:27 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-11-20 07:03:27 +0000 |
commit | 3528d63cdf6a7750f067b88c15fdecdc1f0192d8 (patch) | |
tree | dd5206e6a215f6c9da1ee4368757341684db2d2d /tools | |
parent | e216cc55f39df6bc8b66e66058db9137810578fe (diff) |
add _U_ to int hf_index to reduce number of compiler warnings
svn path=/trunk/; revision=12547
Diffstat (limited to 'tools')
-rw-r--r-- | tools/asn2eth.py | 2 |
1 files changed, 1 insertions, 1 deletions
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()): |