initialize variable to avoid warning spew

This commit is contained in:
Arne Morten Kvarving 2020-01-28 14:09:30 +01:00
parent bddbf1a47b
commit 6cb300c0f9

View File

@ -3023,7 +3023,7 @@ private:
for (const auto& bcface : bcconfig) {
const auto& type = bcface.bctype;
if (type == BCType::RATE) {
int compIdx;
int compIdx = 0;
switch (bcface.component) {
case BCComponent::OIL: