Fix warnings by commenting out text after #else/#endif.
This commit is contained in:
@@ -49,7 +49,7 @@ flush_in()
|
||||
{
|
||||
# ifdef TIOCFLUSH
|
||||
ioctl(fileno(stdin), TIOCFLUSH, NULL);
|
||||
# else TIOCFLUSH
|
||||
# else /* TIOCFLUSH */
|
||||
crmode();
|
||||
# endif TIOCFLUSH
|
||||
# endif /* TIOCFLUSH */
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ bool was_sig;
|
||||
addch(inch());
|
||||
move(Max.y, Max.x);
|
||||
addch(inch());
|
||||
# endif DEBUG
|
||||
# endif /* DEBUG */
|
||||
for (rp = Robots; rp < &Robots[MAXROBOTS]; rp++) {
|
||||
if (rp->y < 0)
|
||||
continue;
|
||||
@@ -123,7 +123,7 @@ bool was_sig;
|
||||
move(Max.y, Max.x);
|
||||
addch(inch());
|
||||
standend();
|
||||
# endif DEBUG
|
||||
# endif /* DEBUG */
|
||||
if (Real_time)
|
||||
alarm(3);
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ play_level()
|
||||
move(Max.y, Max.x);
|
||||
addch(inch());
|
||||
standend();
|
||||
# endif DEBUG
|
||||
# endif /* DEBUG */
|
||||
setjmp(End_move);
|
||||
flush_in();
|
||||
while (!Dead && Num_robots > 0) {
|
||||
|
||||
Reference in New Issue
Block a user