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 remove error(1) output



details:   https://anonhg.NetBSD.org/src/rev/8ee1a0005187
branches:  trunk
changeset: 779754:8ee1a0005187
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 16 01:34:10 2012 +0000

description:
remove error(1) output

diffstat:

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

diffs (27 lines):

diff -r faf9ba841b50 -r 8ee1a0005187 usr.sbin/npf/npfctl/npf_build.c
--- a/usr.sbin/npf/npfctl/npf_build.c   Sat Jun 16 01:31:33 2012 +0000
+++ b/usr.sbin/npf/npfctl/npf_build.c   Sat Jun 16 01:34:10 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_build.c,v 1.8 2012/06/16 01:31:33 christos Exp $   */
+/*     $NetBSD: npf_build.c,v 1.9 2012/06/16 01:34:10 christos Exp $   */
 
 /*-
  * Copyright (c) 2011-2012 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: npf_build.c,v 1.8 2012/06/16 01:31:33 christos Exp $");
+__RCSID("$NetBSD: npf_build.c,v 1.9 2012/06/16 01:34:10 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/ioctl.h>
@@ -438,8 +438,6 @@
     const addr_port_t *ap2, const filt_opts_t *fopts)
 {
        const opt_proto_t op = { .op_proto = -1, .op_opts = NULL };
-/*###441 [cc] error: 'am1' may be used uninitialized in this function%%%*/
-/*###441 [cc] error: 'am2' may be used uninitialized in this function%%%*/
        fam_addr_mask_t *am1, *am2;
        filt_opts_t imfopts;
        sa_family_t family;



Home | Main Index | Thread Index | Old Index