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 23:52:46 +0900
commitb7b523bfbeea7bc421bfa4ce3420aabb5eeca7fa (patch)
treeecae3466a77927882c6d644c58172b731ac7c9ad /ksame
parent916053040fe6dd83b64c00e1360a4b1b6c4740b2 (diff)
downloadtdegames-b7b523bfbeea7bc421bfa4ce3420aabb5eeca7fa.tar.gz
tdegames-b7b523bfbeea7bc421bfa4ce3420aabb5eeca7fa.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5d8b924a625d2e4cfdb3452eeb8041eb80b3fee9)
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;