diff options
author | deraadt <deraadt@openbsd.org> | 2007-09-11 23:06:37 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2007-09-11 23:06:37 +0000 |
commit | d865f4c1a5290d23f621654741035b17bcc1a97f (patch) | |
tree | 98cff1911a34d8dbb34212e8f98d339643614e5b /usr.sbin/ripd/parse.y | |
parent | extend lex to spot numbers in the stream, without impacting the parsing (diff) | |
download | wireguard-openbsd-d865f4c1a5290d23f621654741035b17bcc1a97f.tar.xz wireguard-openbsd-d865f4c1a5290d23f621654741035b17bcc1a97f.zip |
macro argument unused, using local instead; spotted by mpf
Diffstat (limited to 'usr.sbin/ripd/parse.y')
-rw-r--r-- | usr.sbin/ripd/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripd/parse.y b/usr.sbin/ripd/parse.y index 16f8de40b51..7c5d3ae70a1 100644 --- a/usr.sbin/ripd/parse.y +++ b/usr.sbin/ripd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.7 2007/09/11 22:15:17 deraadt Exp $ */ +/* $OpenBSD: parse.y,v 1.8 2007/09/11 23:06:37 deraadt Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -560,7 +560,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 { |