summaryrefslogtreecommitdiff
path: root/src/drumkitloader.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 16:57:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 16:57:52 +0100
commit03ee8f797ddf8ba4701e394998a28aa7ee5c7ffb (patch)
tree14583b1f345c851e14cf3b95d4a0a7f3fe8ae7b0 /src/drumkitloader.h
parent5f2350251bddaa3be7fe2fbc510cf253e7fc971f (diff)
Fix uninitialised warning.
Diffstat (limited to 'src/drumkitloader.h')
-rw-r--r--src/drumkitloader.h8
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__*/