summaryrefslogtreecommitdiffstats
path: root/ksame
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:40 +0900
commit5d8b924a625d2e4cfdb3452eeb8041eb80b3fee9 (patch)
tree8389142b68147edc3659ddca4d1078a6e3e83c9d /ksame
parentbe2865209c4882e6037e3292657cc1dd10dd655b (diff)
downloadtdegames-5d8b924a625d2e4cfdb3452eeb8041eb80b3fee9.tar.gz
tdegames-5d8b924a625d2e4cfdb3452eeb8041eb80b3fee9.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksame')
-rw-r--r--ksame/StoneField.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksame/StoneField.cpp b/ksame/StoneField.cpp
index 673e0e38..356986c2 100644
--- a/ksame/StoneField.cpp
+++ b/ksame/StoneField.cpp
@@ -329,8 +329,8 @@ StoneField::undo(int count) {
bool
StoneField::isGameover() const {
- register int i=maxstone-1;;
- register unsigned char color;
+ int i=maxstone-1;;
+ unsigned char color;
if (gameover>=0) return (bool)gameover;
// kdDebug() << "-->gameover" << endl;