diff --git a/backends/timer/default/default-timer.cpp b/backends/timer/default/default-timer.cpp index 245291c06c6..9e04e0786b7 100644 --- a/backends/timer/default/default-timer.cpp +++ b/backends/timer/default/default-timer.cpp @@ -47,7 +47,7 @@ DefaultTimerManager::~DefaultTimerManager() { } } -int DefaultTimerManager::handler(int t) { +void DefaultTimerManager::handler() { Common::StackLock lock(_mutex); uint32 interval, l; @@ -67,8 +67,6 @@ int DefaultTimerManager::handler(int t) { } } } - - return t; } bool DefaultTimerManager::installTimerProc(TimerProc procedure, int32 interval, void *refCon) { diff --git a/backends/timer/default/default-timer.h b/backends/timer/default/default-timer.h index 8c16122b02a..bea4dc3f864 100644 --- a/backends/timer/default/default-timer.h +++ b/backends/timer/default/default-timer.h @@ -51,7 +51,7 @@ public: void removeTimerProc(TimerProc proc); // Timer callback, to be invoked at regular time intervals by the backend. - int handler(int t); + void handler(); }; #endif