diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-20 16:57:52 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-20 16:57:52 +0100 |
commit | 03ee8f797ddf8ba4701e394998a28aa7ee5c7ffb (patch) | |
tree | 14583b1f345c851e14cf3b95d4a0a7f3fe8ae7b0 /src/drumkitloader.h | |
parent | 5f2350251bddaa3be7fe2fbc510cf253e7fc971f (diff) |
Fix uninitialised warning.
Diffstat (limited to 'src/drumkitloader.h')
-rw-r--r-- | src/drumkitloader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drumkitloader.h b/src/drumkitloader.h index 2c0ea8e..b4a0a69 100644 --- a/src/drumkitloader.h +++ b/src/drumkitloader.h @@ -89,11 +89,11 @@ private: Semaphore run_semaphore; Semaphore semaphore; Mutex mutex; - volatile bool running; + volatile bool running{false}; std::list<AudioFile*> load_queue; - size_t total_num_audiofiles; - size_t fraction; - size_t loaded; + size_t total_num_audiofiles{0}; + size_t fraction{1}; + size_t loaded{0}; }; #endif/*__DRUMGIZMO_DRUMKITLOADER_H__*/ |