summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd/parse.y
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 /usr.sbin/dvmrpd/parse.y
parent0de9a172671305cf5ab28653ded3dc58a1b00f0a (diff)
macro argument unused, using local instead; spotted by mpf
Diffstat (limited to 'usr.sbin/dvmrpd/parse.y')
-rw-r--r--usr.sbin/dvmrpd/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dvmrpd/parse.y b/usr.sbin/dvmrpd/parse.y
index 22f785cd6b1..e17f79fdc63 100644
--- a/usr.sbin/dvmrpd/parse.y
+++ b/usr.sbin/dvmrpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.5 2007/09/11 22:15:20 deraadt Exp $ */
+/* $OpenBSD: parse.y,v 1.6 2007/09/11 23:06:37 deraadt Exp $ */
/*
* Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org>
@@ -553,7 +553,7 @@ top:
}
#define allowed_to_end_number(x) \
- (isspace(x) || c == ')' || c ==',' || c == '/' || c == '}')
+ (isspace(x) || x == ')' || x ==',' || x == '/' || x == '}')
if (c == '-' || isdigit(c)) {
do {