summaryrefslogtreecommitdiffstats
path: root/tetris
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>1999-02-11 02:34:24 +0000
committersimonb <simonb@NetBSD.org>1999-02-11 02:34:24 +0000
commita384163097a9b6779a457bec045abb02e2c4c501 (patch)
treea979f807838017a8184547563c2b1f360a95eb9e /tetris
parent41719528321bb472d3a5c888f0f1c64578b80b3a (diff)
downloadbsdgames-darwin-a384163097a9b6779a457bec045abb02e2c4c501.tar.gz
bsdgames-darwin-a384163097a9b6779a457bec045abb02e2c4c501.tar.zst
bsdgames-darwin-a384163097a9b6779a457bec045abb02e2c4c501.zip
Remove unneeded "mips compiler bug" workaround from original code imported
in 1994.
Diffstat (limited to 'tetris')
-rw-r--r--tetris/tetris.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tetris/tetris.c b/tetris/tetris.c
index f00fb7d7..7819f5b9 100644
--- a/tetris/tetris.c
+++ b/tetris/tetris.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tetris.c,v 1.7 1999/01/03 17:13:51 hubertf Exp $ */
+/* $NetBSD: tetris.c,v 1.8 1999/02/11 02:34:24 simonb Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -80,11 +80,7 @@ setup_board()
p = board;
for (i = B_SIZE; i; i--)
-#ifndef mips
*p++ = i <= (2 * B_COLS) || (i % B_COLS) < 2;
-#else /* work around compiler bug */
- *p++ = i <= (2 * B_COLS) || (i % B_COLS) < 2 ? 1 : 0;
-#endif
}
/*