From: kstailey Date: Wed, 15 Jan 1997 03:19:24 +0000 (+0000) Subject: prevent warning: X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=13c41b263696f147acde2e20f477c2f444f513f6;p=openbsd prevent warning: ppp_tty.c:790: warning: `s' might be used uninitialized in this function --- diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c index 928789966fd..7a79277b535 100644 --- a/sys/net/ppp_tty.c +++ b/sys/net/ppp_tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ppp_tty.c,v 1.5 1996/07/25 14:20:51 joshd Exp $ */ +/* $OpenBSD: ppp_tty.c,v 1.6 1997/01/15 03:19:24 kstailey Exp $ */ /* $NetBSD: ppp_tty.c,v 1.6 1996/05/07 02:40:51 thorpej Exp $ */ /* @@ -787,7 +787,7 @@ pppinput(c, tp) { register struct ppp_softc *sc; struct mbuf *m; - int ilen, s; + int ilen, s = 0; sc = (struct ppp_softc *) tp->t_sc; if (sc == NULL || tp != (struct tty *) sc->sc_devp)