XXX: GCC uninitialized

This commit is contained in:
christos 2006-05-14 05:42:43 +00:00
parent 103d2f520c
commit c0fdc5190f
4 changed files with 15 additions and 14 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cy.c,v 1.40 2006/03/05 17:33:33 christos Exp $ */ /* $NetBSD: cy.c,v 1.41 2006/05/14 05:42:43 christos Exp $ */
/* /*
* cy.c * cy.c
@ -16,7 +16,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cy.c,v 1.40 2006/03/05 17:33:33 christos Exp $"); __KERNEL_RCSID(0, "$NetBSD: cy.c,v 1.41 2006/05/14 05:42:43 christos Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
@ -642,7 +642,8 @@ cyparam(struct tty *tp, struct termios *t)
{ {
struct cy_softc *sc; struct cy_softc *sc;
struct cy_port *cy; struct cy_port *cy;
int ibpr, obpr, i_clk_opt, o_clk_opt, s, opt; int ibpr = 0, obpr = 0, i_clk_opt = 0, o_clk_opt = 0; /* XXX: GCC */
int s, opt;
cy = CY_PORT(tp->t_dev); cy = CY_PORT(tp->t_dev);
sc = CY_BOARD(cy); sc = CY_BOARD(cy);

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtw.c,v 1.72 2006/03/28 00:48:10 dyoung Exp $ */ /* $NetBSD: rtw.c,v 1.73 2006/05/14 05:42:43 christos Exp $ */
/*- /*-
* Copyright (c) 2004, 2005 David Young. All rights reserved. * Copyright (c) 2004, 2005 David Young. All rights reserved.
* *
@ -34,7 +34,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.72 2006/03/28 00:48:10 dyoung Exp $"); __KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.73 2006/05/14 05:42:43 christos Exp $");
#include "bpfilter.h" #include "bpfilter.h"
@ -3231,11 +3231,11 @@ rtw_start(struct ifnet *ifp)
struct ieee80211com *ic; struct ieee80211com *ic;
struct ieee80211_duration *d0; struct ieee80211_duration *d0;
struct ieee80211_frame_min *wh; struct ieee80211_frame_min *wh;
struct ieee80211_node *ni; struct ieee80211_node *ni = NULL; /* XXX: GCC */
struct mbuf *m0; struct mbuf *m0;
struct rtw_softc *sc; struct rtw_softc *sc;
struct rtw_txsoft_blk *tsb; struct rtw_txsoft_blk *tsb = NULL; /* XXX: GCC */
struct rtw_txdesc_blk *tdb; struct rtw_txdesc_blk *tdb = NULL; /* XXX: GCC */
struct rtw_txsoft *ts; struct rtw_txsoft *ts;
struct rtw_txdesc *td; struct rtw_txdesc *td;
struct ieee80211_key *k; struct ieee80211_key *k;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_atu.c,v 1.15 2006/05/08 17:12:42 rpaulo Exp $ */ /* $NetBSD: if_atu.c,v 1.16 2006/05/14 05:42:43 christos Exp $ */
/* $OpenBSD: if_atu.c,v 1.48 2004/12/30 01:53:21 dlg Exp $ */ /* $OpenBSD: if_atu.c,v 1.48 2004/12/30 01:53:21 dlg Exp $ */
/* /*
* Copyright (c) 2003, 2004 * Copyright (c) 2003, 2004
@ -48,7 +48,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_atu.c,v 1.15 2006/05/08 17:12:42 rpaulo Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_atu.c,v 1.16 2006/05/14 05:42:43 christos Exp $");
#include "bpfilter.h" #include "bpfilter.h"
@ -705,7 +705,7 @@ int
atu_join(struct atu_softc *sc, struct ieee80211_node *node) atu_join(struct atu_softc *sc, struct ieee80211_node *node)
{ {
struct atu_cmd_join join; struct atu_cmd_join join;
u_int8_t status; u_int8_t status = 0; /* XXX: GCC */
usbd_status err; usbd_status err;
memset(&join, 0, sizeof(join)); memset(&join, 0, sizeof(join));

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfs_subs.c,v 1.160 2006/04/15 01:45:15 christos Exp $ */ /* $NetBSD: nfs_subs.c,v 1.161 2006/05/14 05:42:43 christos Exp $ */
/* /*
* Copyright (c) 1989, 1993 * Copyright (c) 1989, 1993
@ -70,7 +70,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.160 2006/04/15 01:45:15 christos Exp $"); __KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.161 2006/05/14 05:42:43 christos Exp $");
#include "fs_nfs.h" #include "fs_nfs.h"
#include "opt_nfs.h" #include "opt_nfs.h"
@ -1395,7 +1395,7 @@ nfs_enterdircache(vp, off, blkoff, en, blkno)
struct nfsdircache *ndp = NULL; struct nfsdircache *ndp = NULL;
struct nfsdircache *newndp = NULL; struct nfsdircache *newndp = NULL;
struct nfsmount *nmp = VFSTONFS(vp->v_mount); struct nfsmount *nmp = VFSTONFS(vp->v_mount);
int hashent, gen, overwrite; int hashent = 0, gen, overwrite; /* XXX: GCC */
/* /*
* XXX refuse entries for offset 0. amd(8) erroneously sets * XXX refuse entries for offset 0. amd(8) erroneously sets