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

List:       kde-commits
Subject:    kdegames/kasteroids
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2003-12-24 17:30:13
[Download RAW message or body]

CVS commit by aacid: 

Initialize some variables, valgrind warned about jump based on non initialized variables


  M +3 -0      view.cpp   1.40


--- kdegames/kasteroids/view.cpp  #1.39:1.40
@@ -97,4 +97,7 @@ KAsteroidsView::KAsteroidsView( QWidget 
     shipPower = MAX_POWER_LEVEL;
     vitalsChanged = true;
+    mBrakeCount = 0;
+    mShootCount = 0;
+    mShieldCount = 0;
 }
 


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

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