refactor: Initialize data
This commit is contained in:
parent
f9062d031c
commit
a0d485f79d
28 changed files with 55 additions and 54 deletions
include/components
|
@ -83,7 +83,7 @@ class controller : public signal_receiver<SIGN_PRIORITY_CONTROLLER, sig_ev::proc
|
|||
stateflag m_reload{false};
|
||||
stateflag m_waiting{false};
|
||||
|
||||
sigset_t m_waitmask;
|
||||
sigset_t m_waitmask{};
|
||||
vector<thread> m_threads;
|
||||
|
||||
watch_t m_confwatch;
|
||||
|
|
|
@ -105,7 +105,7 @@ class eventloop : public signal_receiver<SIGN_PRIORITY_EVENTLOOP, process_quit,
|
|||
/**
|
||||
* @brief Flag to indicate current run state
|
||||
*/
|
||||
stateflag m_running;
|
||||
stateflag m_running{};
|
||||
|
||||
/**
|
||||
* @brief Time to wait for subsequent events
|
||||
|
@ -130,7 +130,7 @@ class eventloop : public signal_receiver<SIGN_PRIORITY_EVENTLOOP, process_quit,
|
|||
/**
|
||||
* @brief Mutex used to guard input data
|
||||
*/
|
||||
std::mutex m_inputlock;
|
||||
std::mutex m_inputlock{};
|
||||
|
||||
/**
|
||||
* @brief Input data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue