summaryrefslogtreecommitdiff
path: root/sys/src/cmd/1c
diff options
context:
space:
mode:
authorNoam Preil <noam@pixelhero.dev>2021-06-21 03:29:58 +0000
committerNoam Preil <noam@pixelhero.dev>2021-06-21 03:29:58 +0000
commit1a09421f7db897e1d2e2a9210f79ca4389362c3a (patch)
treefeb8e04fab1fba366fc020d90d71d178d1c42085 /sys/src/cmd/1c
parent21075859e4f3ed93ef2a8ae072cc23d575b4549c (diff)
kencc: clarify warning for unused assignments
Diffstat (limited to 'sys/src/cmd/1c')
-rw-r--r--sys/src/cmd/1c/reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/1c/reg.c b/sys/src/cmd/1c/reg.c
index ad4231c0d..26adbf222 100644
--- a/sys/src/cmd/1c/reg.c
+++ b/sys/src/cmd/1c/reg.c
@@ -359,7 +359,7 @@ loop2:
~(r->refahead.b[z] | r->calahead.b[z] | addrs.b[z]);
if(bany(&bit)) {
nearln = r->prog->lineno;
- warn(Z, "set and not used: %B", bit);
+ warn(Z, "assignment not used: %B", bit);
if(debug['R'])
print("set an not used: %B\n", bit);
excise(r);