diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-11-06 11:54:52 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2010-11-06 11:54:52 -0500 |
commit | 9960802c2b6f4b61c0c7ce718f3ce247a3a13bf1 (patch) | |
tree | e9af7e3b5b2c2fb4e1dc532d3221071f911cf6ad /vms | |
parent | 27df23140def00922ce186da623f2c3724e0b36a (diff) | |
download | perl-9960802c2b6f4b61c0c7ce718f3ce247a3a13bf1.tar.gz |
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.
Diffstat (limited to 'vms')
-rw-r--r-- | vms/vms.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |