Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at packet-lwres.c:1116

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

dissect_noop

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-lwres.c)expand/collapse
Show more  
 1107  static void dissect_noop(tvbuff_t* tvb, proto_tree* lwres_tree)
 1108  {
 1109          guint16 datalen;
 1110          const char* data;
 1111   
 1112          proto_item* noop_item;
 1113          proto_tree* noop_tree;
 1114   
 1115          datalen = tvb_get_ntohs(tvb, LWRES_LWPACKET_LENGTH);
 1116          data = (char*)tvb_get_ptr(tvb, LWRES_LWPACKET_LENGTH, datalen);
 1117           
 1118          if(lwres_tree)
 1119          {
 1120                  noop_item = proto_tree_add_text(lwres_tree, tvb, LWRES_LWPACKET_LENGTH, 10, "Noop record");
 1121                  noop_tree = proto_item_add_subtree(noop_item, ett_noop);
 1122          }
 1123          else 
 1124                  return;
 1125   
 1126          proto_tree_add_uint(noop_tree,
 1127                                                  hf_length,
 1128                                                  tvb,
 1129                                                  LWRES_LWPACKET_LENGTH,
 1130                                                  sizeof(guint16),
 1131                                                  datalen);
 1132   
 1133  }
Show more  




Change Warning 2719.31318 : Unused Value

Priority:
State:
Finding:
Owner:
Note: