Module Name: src
Committed By: christos
Date: Thu Feb 6 18:48:09 UTC 2014
Modified Files:
src/usr.sbin/npf/npfctl: npf_build.c
Log Message:
fix vax build.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/npf/npfctl/npf_build.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npfctl/npf_build.c
diff -u src/usr.sbin/npf/npfctl/npf_build.c:1.33 src/usr.sbin/npf/npfctl/npf_build.c:1.34
--- src/usr.sbin/npf/npfctl/npf_build.c:1.33 Wed Feb 5 21:51:28 2014
+++ src/usr.sbin/npf/npfctl/npf_build.c Thu Feb 6 13:48:09 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_build.c,v 1.33 2014/02/06 02:51:28 rmind Exp $ */
+/* $NetBSD: npf_build.c,v 1.34 2014/02/06 18:48:09 christos Exp $ */
/*-
* Copyright (c) 2011-2014 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: npf_build.c,v 1.33 2014/02/06 02:51:28 rmind Exp $");
+__RCSID("$NetBSD: npf_build.c,v 1.34 2014/02/06 18:48:09 christos Exp $");
#include <sys/types.h>
#include <sys/mman.h>
@@ -638,7 +638,7 @@ npfctl_build_natseg(int sd, int type, co
static void
npfctl_fill_table(nl_table_t *tl, u_int type, const char *fname)
{
- struct cdbw *cdbw;
+ struct cdbw *cdbw = NULL; /* XXX: gcc */
char *buf = NULL;
int l = 0;
FILE *fp;