aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcm.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-31 18:58:38 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-31 18:58:38 +0000
commite5cb1cc0a1e6692dcc9805a7a602c36a4d8284f6 (patch)
tree0b47e92ebdcbe72f7251c718be0173681324e260 /epan/dissectors/packet-dcm.c
parent85bbae02be7bba8467c5acfa67327a6e19f13cb9 (diff)
Fix two cases of 'if (x = y)' which should be 'if (x == y)'.
Found by reviewing msvc level 4 warnings "assignment within conditional expression". (Unfortunately most of the warnings are false positives so this warning can't be enabled) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35726 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dcm.c')
-rw-r--r--epan/dissectors/packet-dcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcm.c b/epan/dissectors/packet-dcm.c
index 6a8a2ac8bc..81bb3fd855 100644
--- a/epan/dissectors/packet-dcm.c
+++ b/epan/dissectors/packet-dcm.c
@@ -5348,7 +5348,7 @@ dissect_dcm_tag_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dcm_s
else if ((val8 >= 0x20) && (val8 <= 0x7E)) {
/* No extended ASCII, 0-9, A-Z, a-z */
}
- else if ((i == vl_max -1) && (val8 = 0x00)) {
+ else if ((i == vl_max -1) && (val8 == 0x00)) {
/* Last Byte can be null*/
is_padded = TRUE;
}