gRC: Initialize variables before use
[openblackhole/openblackhole-enigma2.git] / lib / gdi / grc.cpp
index c2c9a4c..7232862 100644 (file)
@@ -22,6 +22,9 @@ gRC::gRC(): rp(0), wp(0)
 {
        ASSERT(!instance);
        instance=this;
+       m_prev_idle_count = -1;
+       m_spinner_enabled = 0;
+       m_spinneronoff = 1;
        CONNECT(m_notify_pump.recv_msg, gRC::recv_notify);
 #ifndef SYNC_PAINT
        pthread_mutex_init(&mutex, 0);