From 6156f2795d44638ac82df945b6fb0f758b24d138 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 17 Jun 2018 16:20:46 +0200 Subject: Fix bad initialisation. --- src/domloader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 channelmap; for(const auto& map : instrumentref.channel_map) -- cgit v1.2.3