Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
[obnox/wireshark/wip.git] / epan / dissectors / packet-netflow.c
index 4ac380bafccf6871974cb389a43128c4908a08ed..d4fbe3843bafe717f2a0abe54e8d35aa8334b2b0 100644 (file)
@@ -3306,7 +3306,7 @@ dissect_v9_v10_pdu_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pdutree,
             break;
 
         case 139: /* icmpTypeCodeIPv6 */
-            ti = proto_tree_add_item(pdutree, hf_cflow_icmp_ipv6_type,
+            proto_tree_add_item(pdutree, hf_cflow_icmp_ipv6_type,
                                      tvb, offset, 1, ENC_NA);
             ti = proto_tree_add_item(pdutree, hf_cflow_icmp_ipv6_code,
                                      tvb, offset + 1, 1, ENC_NA);