add _U_ to int hf_index to reduce number of compiler warnings
svn path=/trunk/; revision=12547
This commit is contained in:
parent
e216cc55f3
commit
3528d63cdf
|
@ -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()):
|
||||
|
|
Loading…
Reference in New Issue