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/drumkit.h | |
parent | 5f2350251bddaa3be7fe2fbc510cf253e7fc971f (diff) |
Fix uninitialised warning.
Diffstat (limited to 'src/drumkit.h')
-rw-r--r-- | src/drumkit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drumkit.h b/src/drumkit.h index 04b2c56..a9ceb80 100644 --- a/src/drumkit.h +++ b/src/drumkit.h @@ -56,13 +56,13 @@ public: size_t samplerate(); private: - void *magic; + void *magic{nullptr}; std::string _file; std::string _name; std::string _description; - size_t _samplerate; + size_t _samplerate{0}; VersionStr _version; }; |