Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at packet-ncp2222.inc:2088

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

padd_date

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ncp2222.inc)expand/collapse
Show more  
 2081  static proto_item*
 2082  padd_date(ptvcursor_t *ptvc, const ptvc_record *rec)
 2083  {
 2084          proto_item      *item;
 2085          nw_date_t       nw_date;
 2086          gint            offset;
 2087   
 2088          offset = ptvcursor_current_offset(ptvc);
 2089   
 2090          item = ptvcursor_add(ptvc, *rec->hf_ptr,
 2091                  rec->length, rec->endianness);
 2092   
 2093          if (item) {
 2094                  uint_to_nwdate(get_item_value(item), &nw_date);
 2095   
 2096                  proto_item_set_text(item, "%s", get_item_name(item));
 2097                  proto_item_append_text(item, ": %04u/%02u/%02u",
 2098                                  nw_date.year, nw_date.month, nw_date.day);
 2099          }
 2100          return item;
 2101  }
Show more  




Change Warning 2840.32355 : Unused Value

Priority:
State:
Finding:
Owner:
Note: