From f058ef8fee09d820ec053829fb8750f07ebf7608 Mon Sep 17 00:00:00 2001 From: knakahara Date: Thu, 19 May 2016 08:35:03 +0000 Subject: [PATCH] fix build failure by gcc 4.8.5 --- sys/dev/pci/if_wm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/if_wm.c b/sys/dev/pci/if_wm.c index 1d100bf65bdf..26eb7e20bc77 100644 --- a/sys/dev/pci/if_wm.c +++ b/sys/dev/pci/if_wm.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_wm.c,v 1.405 2016/05/19 08:27:57 knakahara Exp $ */ +/* $NetBSD: if_wm.c,v 1.406 2016/05/19 08:35:03 knakahara Exp $ */ /* * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc. @@ -83,7 +83,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.405 2016/05/19 08:27:57 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.406 2016/05/19 08:35:03 knakahara Exp $"); #ifdef _KERNEL_OPT #include "opt_net_mpsafe.h" @@ -5880,7 +5880,7 @@ wm_init_rx_queue(struct wm_softc *sc, struct wm_queue *wmq, static int wm_init_txrx_queues(struct wm_softc *sc) { - int i, error; + int i, error = 0; DPRINTF(WM_DEBUG_INIT, ("%s: %s called\n", device_xname(sc->sc_dev), __func__));