[PATCH] Fix Xephyr compilation when DEBUG is enabled

Michele Baldessari michele at acksyn.org
Sun Sep 15 11:56:34 PDT 2013


When DEBUG is enabled Xephyr compilation fails:
ephyrdriext.c:343:133: error: 'is_ok' undeclared (first use in this
function)
     EPHYR_LOG("leave. is_ok:%d\n", is_ok);

Just reemove bogus is_ok variable.

Signed-off-by: Michele Baldessari <michele at acksyn.org>
---
 hw/kdrive/ephyr/ephyrdriext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/kdrive/ephyr/ephyrdriext.c b/hw/kdrive/ephyr/ephyrdriext.c
index 617ffb1..4c3324e 100644
--- a/hw/kdrive/ephyr/ephyrdriext.c
+++ b/hw/kdrive/ephyr/ephyrdriext.c
@@ -340,7 +340,7 @@ ephyrDRIClipNotify(WindowPtr a_win, int a_x, int a_y)
     free(rects);
     rects = NULL;
 
-    EPHYR_LOG("leave. is_ok:%d\n", is_ok);
+    EPHYR_LOG("leave.\n");
     /*do cleanup here */
 }
 
-- 
1.8.3.1



More information about the xorg-devel mailing list