From acfb08e5ddc8e4082c87943aa7198e8e0a5a484e Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 15 May 2005 19:03:48 +0000 Subject: only inside DIAGNOSTIC --- sys/dev/wscons/wsmux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/wscons/wsmux.c b/sys/dev/wscons/wsmux.c index ba2cd448657..9964bff685a 100644 --- a/sys/dev/wscons/wsmux.c +++ b/sys/dev/wscons/wsmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmux.c,v 1.13 2005/05/15 11:29:15 miod Exp $ */ +/* $OpenBSD: wsmux.c,v 1.14 2005/05/15 19:03:47 deraadt Exp $ */ /* $NetBSD: wsmux.c,v 1.37 2005/04/30 03:47:12 augustss Exp $ */ /* @@ -237,7 +237,9 @@ void wsmux_do_open(struct wsmux_softc *sc, struct wseventvar *evar) { struct wsevsrc *me; +#ifdef DIAGNOSTIC int error; +#endif sc->sc_base.me_evp = evar; /* remember event variable, mark as open */ -- cgit v1.2.3