summaryrefslogtreecommitdiff
path: root/src/domloader.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-06-17 16:20:46 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-12 11:11:44 +0200
commit6156f2795d44638ac82df945b6fb0f758b24d138 (patch)
tree29445522bb22f9d934bdf176a6c7715e9276a73d /src/domloader.cc
parent24d35f0fecb6407e42229972169bcea9e83b1264 (diff)
Fix bad initialisation.
Diffstat (limited to 'src/domloader.cc')
-rw-r--r--src/domloader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/domloader.cc b/src/domloader.cc
index f72f0eb..1498917 100644
--- a/src/domloader.cc
+++ b/src/domloader.cc
@@ -69,7 +69,7 @@ bool DOMLoader::loadDom(const DrumkitDOM& dom,
for(const auto& instrumentref : dom.instruments)
{
- bool found{found};
+ bool found{false};
std::unordered_map<std::string, channel_attribute_t> channelmap;
for(const auto& map : instrumentref.channel_map)