summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrob <rob@cvs.openbsd.org>2018-03-06 15:26:15 +0000
committerrob <rob@cvs.openbsd.org>2018-03-06 15:26:15 +0000
commitbcb136f6e070171137f45807e9831285961f19e4 (patch)
treea2b06dc896986978d871686a63ed83d1133afff6
parent9f2f020d9c793b1bea7c835d77bc9b53d7433252 (diff)
Initialize pushback_index like we do (mostly) everywhere else.
-rw-r--r--usr.sbin/ifstated/parse.y4
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)