[PATCH] Fix statement not reached warning in _DMXXineramaActive

Alan Coopersmith alan.coopersmith at oracle.com
Mon May 21 14:47:45 PDT 2012


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 hw/dmx/dmx.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hw/dmx/dmx.c b/hw/dmx/dmx.c
index 5c59d05..5ea133e 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
-- 
1.7.9.2



More information about the xorg-devel mailing list