Fixes compiler warning:
"fd.c", line 481: warning: statement not reached

Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com>
---
 fd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fd.c b/fd.c
index 00a68a2..8b85460 100644
--- a/fd.c
+++ b/fd.c
@@ -477,8 +477,8 @@ MainLoop(void)
 
             if (FD_ISSET(fd, &rfds)) {
                 if (FDD[fd].InputHandler == NULL) {
-                    panic("FD selected with no handler");
                     debug(1, (stderr, "FD %d has NULL handler\n", fd));
+                    panic("FD selected with no handler");
                 }
                 else
                     (FDD[fd].InputHandler) (fd);
-- 
1.7.9.2

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to