Fix warnings by commenting out text after #else/#endif.
This commit is contained in:
parent
8f0dda1601
commit
ec3cd764a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96394
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user