summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-05-15 19:03:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-05-15 19:03:48 +0000
commitacfb08e5ddc8e4082c87943aa7198e8e0a5a484e (patch)
tree15aae86e994cf462c65a9a2ec1be1cbbc03016f4 /sys
parent0b52e9e3440474590a426957371a386ffb1df6cd (diff)
only inside DIAGNOSTIC
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/wsmux.c4
1 files changed, 3 insertions, 1 deletions
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 */