[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/kpat/patsolve
From:       Stephan Kulow <coolo () kde ! org>
Date:       2011-01-26 15:13:45
Message-ID: 20110126151345.C3B32AC8BA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1217294 by coolo:

remove krazy warning


 M  +1 -5      freecellsolver.cpp  


--- trunk/KDE/kdegames/kpat/patsolve/freecellsolver.cpp #1217293:1217294
@@ -26,9 +26,7 @@
 /* The following macro implements
 	(Same_suit ? (suit(a) == suit(b)) : (color(a) != color(b)))
 */
-#define suitable(a, b) ((((a) ^ (b)) & Suit_mask) == Suit_val)
-static card_t Suit_mask;
-static card_t Suit_val;
+#define suitable(a, b) ((((a) ^ (b)) & PS_COLOR) == PS_COLOR)
 
 /* Statistics. */
 
@@ -402,8 +400,6 @@
 
     setNumberPiles( Nwpiles + Ntpiles );
 
-    Suit_mask = PS_COLOR;
-    Suit_val = PS_COLOR;
     deal = dealer;
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic