Fix coverity #29604
[supertux.git] / src / supertux / timer.cpp
index 90e7655..735e4ab 100644 (file)
@@ -19,8 +19,8 @@
 #include "supertux/timer.hpp"
 
 Timer::Timer() :
-  period(0), 
-cycle_start(0), 
+  period(0),
+cycle_start(0),
   cyclic(false)
 {
 }
@@ -30,10 +30,10 @@ Timer::~Timer()
 }
 
 void
-Timer::start(float period, bool cyclic)
+Timer::start(float period_, bool cyclic_)
 {
-  this->period = period;
-  this->cyclic = cyclic;
+  this->period = period_;
+  this->cyclic = cyclic_;
   cycle_start = game_time;
 }