From 9960802c2b6f4b61c0c7ce718f3ce247a3a13bf1 Mon Sep 17 00:00:00 2001 From: Nicolas Kaiser Date: Sat, 6 Nov 2010 11:54:52 -0500 Subject: RT 78836: vms/vms.c: dubious expressions I noticed two dubious expressions that look as if they were intended to be assignments. The comment above the code says it's broken. --- vms/vms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vms') diff --git a/vms/vms.c b/vms/vms.c index 9ca1e96b21..780187347b 100644 --- a/vms/vms.c +++ b/vms/vms.c @@ -655,8 +655,8 @@ int scnt; if (scnt == 4) { unsigned int c1, c2; scnt = sscanf(inspec, "%2x%2x", &c1, &c2); - outspec[0] == c1 & 0xff; - outspec[1] == c2 & 0xff; + outspec[0] = c1 & 0xff; + outspec[1] = c2 & 0xff; if (scnt > 1) { (*output_cnt) += 2; count += 4; -- cgit v1.2.1