Source-Changes-HG archive

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

[src/netbsd-3-0]: src/sys/net Pull up following revision(s) (requested by mar...



details:   https://anonhg.NetBSD.org/src/rev/3233dc710e11
branches:  netbsd-3-0
changeset: 579345:3233dc710e11
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Nov 19 17:52:18 2006 +0000

description:
Pull up following revision(s) (requested by martin in ticket #1588):
        sys/net/if_pppoe.c: revision 1.61
Fix bogus uninitialized variable warning ifdef PPPOE_SERVER.
Noticed by Marcin Jessa on current-users.

diffstat:

 sys/net/if_pppoe.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7b91ec8ed8cc -r 3233dc710e11 sys/net/if_pppoe.c
--- a/sys/net/if_pppoe.c        Tue Nov 14 17:49:56 2006 +0000
+++ b/sys/net/if_pppoe.c        Sun Nov 19 17:52:18 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_pppoe.c,v 1.59 2005/02/26 22:45:09 perry Exp $ */
+/* $NetBSD: if_pppoe.c,v 1.59.4.1 2006/11/19 17:52:18 bouyer Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.59 2005/02/26 22:45:09 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.59.4.1 2006/11/19 17:52:18 bouyer Exp $");
 
 #include "pppoe.h"
 #include "bpfilter.h"
@@ -1324,7 +1324,7 @@
 {
        struct mbuf *m0;
        u_int8_t *p;
-       size_t len, l1;
+       size_t len, l1 = 0;     /* XXX: gcc */
 
        if (sc->sc_state != PPPOE_STATE_PADO_SENT)
                return EIO;



Home | Main Index | Thread Index | Old Index