Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-dcom.c:1019

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

dissect_dcom_indexed_DWORD

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c)expand/collapse
Show more  
 1010  dissect_dcom_indexed_DWORD(tvbuff_t *tvb, int offset,   packet_info *pinfo,
 1011                                           proto_tree *tree, guint8 *drep,  
 1012                                           int hfindex, guint32 * pu32DWORD, int field_index)
 1013  {
 1014          guint32 u32DWORD;
 1015   
 1016   
 1017          /* dissect the DWORD, but don't add to tree */
 1018          dissect_dcom_DWORD(tvb, offset, pinfo, NULL /*tree*/, drep,
 1019                                          hfindex, &u32DWORD);
 1020   
 1021          if (tree) {
 1022                  /* special formatted output of indexed value */
 1023                  proto_tree_add_uint_format(tree, hfindex, tvb, offset, 4, (drep[0] & 0x10),
 1024                          "%s[%u]: 0x%08x",  
 1025                          proto_registrar_get_name(hfindex),
 1026                          field_index, u32DWORD);
 1027          }
 1028   
 1029          offset += 4;
 1030   
 1031          if (pu32DWORD)
 1032                  *pu32DWORD = u32DWORD;
 1033   
 1034          return offset;
 1035  }
Show more  




Change Warning 5410.35624 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: