add _U_ to int hf_index to reduce number of compiler warnings

svn path=/trunk/; revision=12547
This commit is contained in:
Ronnie Sahlberg 2004-11-20 07:03:27 +00:00
parent e216cc55f3
commit 3528d63cdf
1 changed files with 1 additions and 1 deletions

View File

@ -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()):