summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-05-20 00:00:59 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-06-05 16:28:54 -0700
commitf20a532ba3c7b7d74530f3906c7bacf016bb8faf (patch)
treec39aa76be7e3b67259ac386ad89ce29016f6ee9d /hw
parent1be317c4e5d99d11a124ad4e7a90a5dcae591e20 (diff)
Fix statement not reached warning in _DMXXineramaActive
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/dmx/dmx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/dmx/dmx.c b/hw/dmx/dmx.c
index add0e5390..a226c5db1 100644
--- a/hw/dmx/dmx.c
+++ b/hw/dmx/dmx.c
@@ -74,8 +74,9 @@ _DMXXineramaActive(void)
{
#ifdef PANORAMIX
return !noPanoramiXExtension;
-#endif
+#else
return 0;
+#endif
}
static void