Fix Dead Store (Dead nested assignment) Warning found by Clang
authoralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Apr 2011 13:32:11 +0000 (13:32 +0000)
committeralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Apr 2011 13:32:11 +0000 (13:32 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36754 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/profinet/packet-dcerpc-pn-io.c

index 2e2cc3ae7dbf81d69c9ac914ba48d57a6c28ea82..b8b259c4ebc8725de57a7483f6537c3caa53d881 100644 (file)
@@ -7335,7 +7335,7 @@ dissect_ProfiSafeParameterRequest(tvbuff_t *tvb, int offset,
     guint8 prm_flag2_f_block_id;
     guint8 prm_flag2_f_par_version;
 
-    prm_flag1 = prm_flag2 = 0;
+    prm_flag1 = 0;
     
     f_item = proto_tree_add_item(tree, hf_pn_io_block, tvb, offset, 0, FALSE);
     f_tree = proto_item_add_subtree(f_item, ett_pn_io_profisafe_f_parameter);