aboutsummaryrefslogtreecommitdiff
path: root/common/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/timer.cpp')
-rw-r--r--common/timer.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/timer.cpp b/common/timer.cpp
index 230366ad0d..2075243106 100644
--- a/common/timer.cpp
+++ b/common/timer.cpp
@@ -30,12 +30,9 @@ Timer *g_timer = NULL;
Timer::Timer(OSystem *system) :
_system(system),
- _mutex(0),
_timerHandler(0),
_lastTime(0) {
- _mutex = _system->createMutex();
-
g_timer = this;
for (int i = 0; i < MAX_TIMERS; i++) {
@@ -65,8 +62,6 @@ Timer::~Timer() {
_timerSlots[i].counter = 0;
}
}
-
- _system->deleteMutex(_mutex);
}
int Timer::timer_handler(int t) {