From 7c26156842418c7aa82cf5c85d573fa049f19a54 Mon Sep 17 00:00:00 2001 From: Mathias Gumz <akira at fluxbox dot org> Date: Wed, 13 Feb 2013 10:30:55 +0100 Subject: Initialize FbTk::Timer.m_timeout correctly --- src/FbTk/Timer.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc index 387c5d2..7f7977e 100644 --- a/src/FbTk/Timer.cc +++ b/src/FbTk/Timer.cc @@ -77,7 +77,8 @@ namespace FbTk { Timer::Timer() : m_once(false), m_interval(0), - m_start(0) { + m_start(0), + m_timeout(0) { } @@ -85,7 +86,8 @@ Timer::Timer(const RefCount<Slot<void> > &handler): m_handler(handler), m_once(false), m_interval(0), - m_start(0) { + m_start(0), + m_timeout(0) { } -- cgit v0.11.2