diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-07-08 14:57:45 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-07-21 23:47:00 -0700 |
commit | 669d0729fbe3c6a6fc33b448789e5512f70468e8 (patch) | |
tree | 45b05afec6cc539a57d0c012cf25f54960c3c3c7 | |
parent | 8296cb21cf22938cfc5274b70b9bedee9c175951 (diff) |
Move debug statement before panic() call, so it can actually run
Fixes compiler warning:
"fd.c", line 481: warning: statement not reached
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |