diff options
author | rob <rob@openbsd.org> | 2018-03-06 15:26:14 +0000 |
---|---|---|
committer | rob <rob@openbsd.org> | 2018-03-06 15:26:14 +0000 |
commit | 4a99a2bc32c6a555cc542bdd030e370f28392cc8 (patch) | |
tree | b058a132579398a486ef91b0535a3b6fd199b154 /usr.sbin/ifstated | |
parent | Mention that there is no macro expansion inside quotes. (diff) | |
download | wireguard-openbsd-4a99a2bc32c6a555cc542bdd030e370f28392cc8.tar.xz wireguard-openbsd-4a99a2bc32c6a555cc542bdd030e370f28392cc8.zip |
Initialize pushback_index like we do (mostly) everywhere else.
Diffstat (limited to 'usr.sbin/ifstated')
-rw-r--r-- | usr.sbin/ifstated/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ifstated/parse.y b/usr.sbin/ifstated/parse.y index ba186448f32..326f107650b 100644 --- a/usr.sbin/ifstated/parse.y +++ b/usr.sbin/ifstated/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.47 2017/08/21 17:38:55 rob Exp $ */ +/* $OpenBSD: parse.y,v 1.48 2018/03/06 15:26:14 rob Exp $ */ /* * Copyright (c) 2004 Ryan McBride <mcbride@openbsd.org> @@ -416,7 +416,7 @@ lookup(char *s) u_char *parsebuf; int parseindex; u_char pushback_buffer[MAXPUSHBACK]; -int pushback_index; +int pushback_index = 0; int lgetc(int quotec) |