Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
authoralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 2 Sep 2013 23:15:07 +0000 (23:15 +0000)
committeralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 2 Sep 2013 23:15:07 +0000 (23:15 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@51678 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/mate/mate_runtime.c

index 0b9284bd886625140574e40e33850915e59e43a1..89217f8b1760e1541d75d05ef4d046444d5620f0 100644 (file)
@@ -814,8 +814,6 @@ static mate_pdu* new_pdu(mate_cfg_pdu* cfg, guint32 framenum, field_info* proto,
                                        range->end = range_fi->start + range_fi->length;
                                        g_ptr_array_add(data.ranges,range);
 
-                                       last_start = range_fi->start;
-
                                        dbg_print(dbg_pdu,3,dbg_facility,"new_pdu: payload(%i) range %i-%i",hfid,range->start,range->end);
                                } else {
                                        /* we missed a range  */