summaryrefslogtreecommitdiff
path: root/bin/chio
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-09-11 23:06:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-09-11 23:06:38 +0000
commitd4f37d4bd18236ed2817ff6284f7691613646176 (patch)
tree8fd22981574c8e7d143dc732ceb06e9d4a7c00a9 /bin/chio
parent0de9a172671305cf5ab28653ded3dc58a1b00f0a (diff)
macro argument unused, using local instead; spotted by mpf
Diffstat (limited to 'bin/chio')
-rw-r--r--bin/chio/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/chio/parse.y b/bin/chio/parse.y
index a3af5f7c9ca..c72489b1c2c 100644
--- a/bin/chio/parse.y
+++ b/bin/chio/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.5 2007/09/11 22:16:15 deraadt Exp $ */
+/* $OpenBSD: parse.y,v 1.6 2007/09/11 23:06:37 deraadt Exp $ */
/*
* Copyright (c) 2006 Bob Beck <beck@openbsd.org>
@@ -296,7 +296,7 @@ yylex(void)
}
#define allowed_to_end_number(x) \
- (isspace(x) || c == ')' || c ==',' || c == '/' || c == '}')
+ (isspace(x) || x == ')' || x ==',' || x == '/' || x == '}')
if (c == '-' || isdigit(c)) {
do {