aboutsummaryrefslogtreecommitdiff
path: root/backends/timer/default
diff options
context:
space:
mode:
authorFilippos Karapetis2019-07-14 15:12:07 +0300
committerFilippos Karapetis2019-07-14 15:12:07 +0300
commitda15a38b66b0b1a6b7fd4022997beec1decbbcf8 (patch)
tree1395c98fec175dfc2a76a1a65e513d9a7c59e7ee /backends/timer/default
parent1e23d43006705a1d25e04d9cc90674044789cb92 (diff)
downloadscummvm-rg350-da15a38b66b0b1a6b7fd4022997beec1decbbcf8.tar.gz
scummvm-rg350-da15a38b66b0b1a6b7fd4022997beec1decbbcf8.tar.bz2
scummvm-rg350-da15a38b66b0b1a6b7fd4022997beec1decbbcf8.zip
BACKENDS: Initialize more TimerSlot fields when resetting it
This imports changes from commit 05f3fe420f20e8e44ed525960fcb713b43d5d0ad
Diffstat (limited to 'backends/timer/default')
-rw-r--r--backends/timer/default/default-timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/timer/default/default-timer.cpp b/backends/timer/default/default-timer.cpp
index 19d1a0af11..067226be4d 100644
--- a/backends/timer/default/default-timer.cpp
+++ b/backends/timer/default/default-timer.cpp
@@ -36,7 +36,7 @@ struct TimerSlot {
TimerSlot *next;
- TimerSlot() : refCon(0), interval(0), nextFireTime(0), nextFireTimeMicro(0), next(0) {}
+ TimerSlot() : callback(nullptr), refCon(nullptr), interval(0), nextFireTime(0), nextFireTimeMicro(0), next(nullptr) {}
};
void insertPrioQueue(TimerSlot *head, TimerSlot *newSlot) {