Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/npf/npfctl fix vax build.



details:   https://anonhg.NetBSD.org/src/rev/ec8b7c4b1f7a
branches:  trunk
changeset: 326608:ec8b7c4b1f7a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 06 18:48:09 2014 +0000

description:
fix vax build.

diffstat:

 usr.sbin/npf/npfctl/npf_build.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0b277edf9e17 -r ec8b7c4b1f7a usr.sbin/npf/npfctl/npf_build.c
--- a/usr.sbin/npf/npfctl/npf_build.c   Thu Feb 06 18:45:35 2014 +0000
+++ b/usr.sbin/npf/npfctl/npf_build.c   Thu Feb 06 18:48:09 2014 +0000
@@ -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 @@
 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;



Home | Main Index | Thread Index | Old Index