From 851064ccf983737c928e7ce95d4099984a4fbf5d Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 15 Mar 2005 18:08:59 +0000 Subject: [PATCH] Fix a GCC warning when compiling on evbppc. From FUKAUMI Naoki in PR #29669. --- sys/dist/pf/net/pf_ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dist/pf/net/pf_ioctl.c b/sys/dist/pf/net/pf_ioctl.c index 9e188c5e5c4b..95d0a99011d3 100644 --- a/sys/dist/pf/net/pf_ioctl.c +++ b/sys/dist/pf/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: pf_ioctl.c,v 1.15 2005/02/14 21:28:33 peter Exp $ */ +/* $NetBSD: pf_ioctl.c,v 1.16 2005/03/15 18:08:59 peter Exp $ */ /* $OpenBSD: pf_ioctl.c,v 1.130.2.1 2004/12/19 19:01:50 brad Exp $ */ /* @@ -452,7 +452,7 @@ struct pf_ruleset * pf_find_or_create_ruleset(const char *path) { static char p[MAXPATHLEN]; - char *q, *r; + char *q = NULL /* XXX gcc */, *r; struct pf_ruleset *ruleset; struct pf_anchor *anchor = NULL /* XXX gcc */, *dup, *parent = NULL;