Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-dcom.c:989

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

dissect_dcom_indexed_WORD

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcom.c)expand/collapse
Show more  
 980  dissect_dcom_indexed_WORD(tvbuff_t *tvb, int offset,    packet_info *pinfo,
 981                                           proto_tree *tree, guint8 *drep,  
 982                                           int hfindex, guint16 * pu16WORD, int field_index)
 983  {
 984          guint16 u16WORD;
 985   
 986   
 987          /* dissect the WORD, but don't add to tree */
 988          dissect_dcom_WORD(tvb, offset, pinfo, NULL /*tree*/, drep,
 989                                          hfindex, &u16WORD);
 990   
 991          if (tree) {
 992                  /* special formatted output of indexed value */
 993                  proto_tree_add_uint_format(tree, hfindex, tvb, offset, 2, (drep[0] & 0x10),
 994                          "%s[%u]: 0x%04x",  
 995                          proto_registrar_get_name(hfindex),
 996                          field_index, u16WORD);
 997          }
 998   
 999          offset += 2;
 1000   
 1001          if (pu16WORD)
 1002                  *pu16WORD = u16WORD;
 1003   
 1004          return offset;
 1005  }
Show more  




Change Warning 5407.35621 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: