diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-07-08 14:57:45 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-10-02 22:14:44 -0700 |
commit | 29ec5378ff7eae6b14a49347008ea35db069b936 (patch) | |
tree | 8f6c56cb94efa21e2764ac9cf7ed289e7543ccad /fd.c | |
parent | 36ddba4f6f916eabfc94a22cf7845221f1d4a3cb (diff) | |
download | xscope-29ec5378ff7eae6b14a49347008ea35db069b936.tar.gz |
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>
Diffstat (limited to 'fd.c')
-rw-r--r-- | fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -480,8 +480,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); |