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/instrumentparser.h | |
parent | 5f2350251bddaa3be7fe2fbc510cf253e7fc971f (diff) |
Fix uninitialised warning.
Diffstat (limited to 'src/instrumentparser.h')
-rw-r--r-- | src/instrumentparser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/instrumentparser.h b/src/instrumentparser.h index 2a7a9c9..60a6261 100644 --- a/src/instrumentparser.h +++ b/src/instrumentparser.h @@ -47,14 +47,14 @@ protected: int readData(char *data, size_t size); private: - FILE *fd; + FILE *fd{nullptr}; Instrument &instrument; - Sample *s; + Sample *s{nullptr}; std::string path; - level_t lower; - level_t upper; + level_t lower{0}; + level_t upper{0}; }; #endif/*__DRUMGIZMO_INSTRUMENTPARSER_H__*/ |