diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2013-01-21 22:38:11 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2013-01-21 22:38:11 +0000 |
commit | 86dd0abcd35a56f0e460291818ad6da0511dd45d (patch) | |
tree | 83a53cbdbb84f3d57c61cd96a8ec08ba97f08ec9 /epan/dissectors/packet-tango.c | |
parent | 8189823b7331f5d538e132ff632b66cef14f3b1d (diff) |
Fix for CID 761911-761984 and CID 761985-761994.
Try to convince Coverity that the passed in item pointer is appreciated,
but not used.
svn path=/trunk/; revision=47201
Diffstat (limited to 'epan/dissectors/packet-tango.c')
-rw-r--r-- | epan/dissectors/packet-tango.c | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/epan/dissectors/packet-tango.c b/epan/dissectors/packet-tango.c index 01fec5b552..5aff24519e 100644 --- a/epan/dissectors/packet-tango.c +++ b/epan/dissectors/packet-tango.c @@ -595,6 +595,8 @@ decode_get_Tango_Device_adm_name_at(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p static void decode_Tango_Device_command_inout(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + switch(header->message_type) { case Request: giop_add_CDR_string(tree, tvb, offset, stream_is_big_endian, boundary, hf_Tango_Device_command_inout_command); @@ -630,6 +632,8 @@ decode_Tango_Device_command_inout(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro static void decode_Tango_Device_get_attribute_config(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_get_attribute_config_names; guint32 i_Tango_Device_get_attribute_config_names; @@ -687,6 +691,8 @@ decode_Tango_Device_get_attribute_config(tvbuff_t *tvb _U_, packet_info *pinfo _ static void decode_Tango_Device_set_attribute_config(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_set_attribute_config_new_conf; guint32 i_Tango_Device_set_attribute_config_new_conf; @@ -734,6 +740,8 @@ decode_Tango_Device_set_attribute_config(tvbuff_t *tvb _U_, packet_info *pinfo _ static void decode_Tango_Device_read_attributes(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_read_attributes_names; guint32 i_Tango_Device_read_attributes_names; @@ -791,6 +799,8 @@ decode_Tango_Device_read_attributes(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p static void decode_Tango_Device_write_attributes(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_write_attributes_values; guint32 i_Tango_Device_write_attributes_values; @@ -838,6 +848,8 @@ decode_Tango_Device_write_attributes(tvbuff_t *tvb _U_, packet_info *pinfo _U_, static void decode_Tango_Device_ping(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + switch(header->message_type) { case Request: break; @@ -869,6 +881,8 @@ decode_Tango_Device_ping(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree * static void decode_Tango_Device_black_box(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_black_box_return; guint32 i_Tango_Device_black_box_return; @@ -915,6 +929,8 @@ decode_Tango_Device_black_box(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_t static void decode_Tango_Device_info(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + switch(header->message_type) { case Request: break; @@ -947,6 +963,8 @@ decode_Tango_Device_info(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree * static void decode_Tango_Device_command_list_query(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_command_list_query_return; guint32 i_Tango_Device_command_list_query_return; @@ -992,6 +1010,8 @@ decode_Tango_Device_command_list_query(tvbuff_t *tvb _U_, packet_info *pinfo _U_ static void decode_Tango_Device_command_query(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + switch(header->message_type) { case Request: giop_add_CDR_string(tree, tvb, offset, stream_is_big_endian, boundary, hf_Tango_Device_command_query_command); @@ -1026,6 +1046,8 @@ decode_Tango_Device_command_query(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro static void decode_Tango_Device_2_command_inout_2(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4; /* Operation specific Variable declarations End */ @@ -1069,6 +1091,8 @@ decode_Tango_Device_2_command_inout_2(tvbuff_t *tvb _U_, packet_info *pinfo _U_, static void decode_Tango_Device_2_read_attributes_2(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_2_read_attributes_2_names; guint32 i_Tango_Device_2_read_attributes_2_names; @@ -1131,6 +1155,8 @@ decode_Tango_Device_2_read_attributes_2(tvbuff_t *tvb _U_, packet_info *pinfo _U static void decode_Tango_Device_2_get_attribute_config_2(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_2_get_attribute_config_2_names; guint32 i_Tango_Device_2_get_attribute_config_2_names; @@ -1188,6 +1214,8 @@ decode_Tango_Device_2_get_attribute_config_2(tvbuff_t *tvb _U_, packet_info *pin static void decode_Tango_Device_2_command_list_query_2(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_2_command_list_query_2_return; guint32 i_Tango_Device_2_command_list_query_2_return; @@ -1233,6 +1261,8 @@ decode_Tango_Device_2_command_list_query_2(tvbuff_t *tvb _U_, packet_info *pinfo static void decode_Tango_Device_2_command_query_2(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + switch(header->message_type) { case Request: giop_add_CDR_string(tree, tvb, offset, stream_is_big_endian, boundary, hf_Tango_Device_2_command_query_2_command); @@ -1267,6 +1297,8 @@ decode_Tango_Device_2_command_query_2(tvbuff_t *tvb _U_, packet_info *pinfo _U_, static void decode_Tango_Device_2_command_inout_history_2(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_2_command_inout_history_2_return; guint32 i_Tango_Device_2_command_inout_history_2_return; @@ -1316,6 +1348,8 @@ decode_Tango_Device_2_command_inout_history_2(tvbuff_t *tvb _U_, packet_info *pi static void decode_Tango_Device_2_read_attribute_history_2(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_2_read_attribute_history_2_return; guint32 i_Tango_Device_2_read_attribute_history_2_return; @@ -1365,6 +1399,8 @@ decode_Tango_Device_2_read_attribute_history_2(tvbuff_t *tvb _U_, packet_info *p static void decode_Tango_Device_3_read_attributes_3(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_3_read_attributes_3_names; guint32 i_Tango_Device_3_read_attributes_3_names; @@ -1427,6 +1463,8 @@ decode_Tango_Device_3_read_attributes_3(tvbuff_t *tvb _U_, packet_info *pinfo _U static void decode_Tango_Device_3_write_attributes_3(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_3_write_attributes_3_values; guint32 i_Tango_Device_3_write_attributes_3_values; @@ -1474,6 +1512,8 @@ decode_Tango_Device_3_write_attributes_3(tvbuff_t *tvb _U_, packet_info *pinfo _ static void decode_Tango_Device_3_read_attribute_history_3(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_3_read_attribute_history_3_return; guint32 i_Tango_Device_3_read_attribute_history_3_return; @@ -1523,6 +1563,8 @@ decode_Tango_Device_3_read_attribute_history_3(tvbuff_t *tvb _U_, packet_info *p static void decode_Tango_Device_3_info_3(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + switch(header->message_type) { case Request: break; @@ -1555,6 +1597,8 @@ decode_Tango_Device_3_info_3(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tr static void decode_Tango_Device_3_get_attribute_config_3(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_3_get_attribute_config_3_names; guint32 i_Tango_Device_3_get_attribute_config_3_names; @@ -1612,6 +1656,8 @@ decode_Tango_Device_3_get_attribute_config_3(tvbuff_t *tvb _U_, packet_info *pin static void decode_Tango_Device_3_set_attribute_config_3(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ + /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_Device_3_set_attribute_config_3_new_conf; guint32 i_Tango_Device_3_set_attribute_config_3_new_conf; @@ -1657,6 +1703,7 @@ decode_Tango_Device_3_set_attribute_config_3(tvbuff_t *tvb _U_, packet_info *pin static void decode_Tango_DevVarLongStringArray_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_DevVarLongStringArray_lvalue; @@ -1691,6 +1738,7 @@ decode_Tango_DevVarLongStringArray_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, static void decode_Tango_DevVarDoubleStringArray_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_DevVarDoubleStringArray_dvalue; @@ -1725,6 +1773,7 @@ decode_Tango_DevVarDoubleStringArray_st(tvbuff_t *tvb _U_, packet_info *pinfo _U static void decode_Tango_TimeVal_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ proto_tree_add_int(tree, hf_Tango_TimeVal_tv_sec, tvb, *offset-4, 4, get_CDR_long(tvb,offset,stream_is_big_endian, boundary)); @@ -1738,6 +1787,7 @@ decode_Tango_TimeVal_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *t static void decode_Tango_DevCmdInfo_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ giop_add_CDR_string(tree, tvb, offset, stream_is_big_endian, boundary, hf_Tango_DevCmdInfo_cmd_name); @@ -1757,6 +1807,7 @@ decode_Tango_DevCmdInfo_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree static void decode_Tango_DevCmdInfo_2_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4; @@ -1784,6 +1835,7 @@ decode_Tango_DevCmdInfo_2_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tr static void decode_Tango_DevError_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4; @@ -1805,6 +1857,7 @@ decode_Tango_DevError_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree * static void decode_Tango_NamedDevError_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_NamedDevError_err_list; @@ -1832,6 +1885,7 @@ decode_Tango_NamedDevError_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_t static void decode_Tango_AttributeConfig_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4; @@ -1893,6 +1947,7 @@ decode_Tango_AttributeConfig_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto static void decode_Tango_AttributeConfig_2_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4; @@ -1958,6 +2013,7 @@ decode_Tango_AttributeConfig_2_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro static void decode_Tango_AttributeValue_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4; @@ -1984,6 +2040,7 @@ decode_Tango_AttributeValue_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_ static void decode_Tango_AttributeDim_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ proto_tree_add_int(tree, hf_Tango_AttributeDim_dim_x, tvb, *offset-4, 4, get_CDR_long(tvb,offset,stream_is_big_endian, boundary)); @@ -1995,6 +2052,7 @@ decode_Tango_AttributeDim_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tr static void decode_Tango_AttributeValue_3_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4; @@ -2036,6 +2094,7 @@ decode_Tango_AttributeValue_3_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, prot static void decode_Tango_ChangeEventProp_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_ChangeEventProp_extensions; @@ -2062,6 +2121,7 @@ decode_Tango_ChangeEventProp_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto static void decode_Tango_PeriodicEventProp_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_PeriodicEventProp_extensions; @@ -2086,6 +2146,7 @@ decode_Tango_PeriodicEventProp_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro static void decode_Tango_ArchiveEventProp_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_ArchiveEventProp_extensions; @@ -2114,6 +2175,7 @@ decode_Tango_ArchiveEventProp_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, prot static void decode_Tango_EventProperties_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Begin struct "Tango_ChangeEventProp" */ decode_Tango_ChangeEventProp_st(tvb, pinfo, tree, item, offset, header, operation, stream_is_big_endian); @@ -2130,6 +2192,7 @@ decode_Tango_EventProperties_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto static void decode_Tango_AttributeAlarm_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_AttributeAlarm_extensions; @@ -2164,6 +2227,7 @@ decode_Tango_AttributeAlarm_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_ static void decode_Tango_AttributeConfig_3_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4; @@ -2243,6 +2307,7 @@ decode_Tango_AttributeConfig_3_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro static void decode_Tango_DevInfo_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ giop_add_CDR_string(tree, tvb, offset, stream_is_big_endian, boundary, hf_Tango_DevInfo_dev_class); @@ -2260,6 +2325,7 @@ decode_Tango_DevInfo_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *t static void decode_Tango_DevInfo_3_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ giop_add_CDR_string(tree, tvb, offset, stream_is_big_endian, boundary, hf_Tango_DevInfo_3_dev_class); @@ -2279,6 +2345,7 @@ decode_Tango_DevInfo_3_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree static void decode_Tango_DevCmdHistory_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_DevCmdHistory_errors; @@ -2309,6 +2376,7 @@ decode_Tango_DevCmdHistory_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_t static void decode_Tango_DevAttrHistory_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ /* Operation specific Variable declarations Begin */ guint32 u_octet4_loop_Tango_DevAttrHistory_errors; @@ -2337,6 +2405,7 @@ decode_Tango_DevAttrHistory_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_ static void decode_Tango_DevAttrHistory_3_st(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, proto_item *item _U_, int *offset _U_, MessageHeader *header _U_, const gchar *operation _U_, gboolean stream_is_big_endian _U_) { + (void)item; /* Avoid coverity param_set_but_unused parse warning */ proto_tree_add_boolean(tree, hf_Tango_DevAttrHistory_3_attr_failed, tvb, *offset-1, 1, get_CDR_boolean(tvb,offset)); |