diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-02-18 15:16:03 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-02-18 15:16:03 +0000 |
commit | d897649b4223d8558d7c17db3181659268718819 (patch) | |
tree | 2b6e2938f0d1acf5dcbf2017e5760f9619f13528 /usr.sbin | |
parent | eb2ef85dc6e63b8f2819256c12559a69f528fea5 (diff) |
Initialize type and subtype because modern gcc complains about it.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 3b495f1d682..68e9af768e6 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.377 2019/02/18 12:43:23 claudio Exp $ */ +/* $OpenBSD: parse.y,v 1.378 2019/02/18 15:16:02 claudio Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -3675,7 +3675,7 @@ parseextcommunity(struct filter_community *c, char *t, char *s) u_int64_t ullval; u_int32_t uval; char *p, *ep; - int type, subtype; + int type = 0, subtype = 0; if (parsesubtype(t, &type, &subtype) == 0) { yyerror("Bad ext-community unknown type"); |