From e767681dcf2bb19751bc4b32df55d12f36fe8e1b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 22 Oct 2006 16:05:59 +0000 Subject: Removed unused return value & param from DefaultTimerManager::handler() svn-id: r24447 --- backends/timer/default/default-timer.cpp | 4 +--- backends/timer/default/default-timer.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'backends/timer') diff --git a/backends/timer/default/default-timer.cpp b/backends/timer/default/default-timer.cpp index 245291c06c..9e04e0786b 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 8c16122b02..bea4dc3f86 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 -- cgit v1.2.3