diff widgets/PluginPathConfigurator.cpp @ 1298:f24f64e441ac plugin-path-config

Fix compiler warning
author Chris Cannam
date Mon, 11 Jun 2018 11:38:09 +0100
parents bc8134fb9752
children
line wrap: on
line diff
--- a/widgets/PluginPathConfigurator.cpp	Fri Jun 08 15:11:11 2018 +0100
+++ b/widgets/PluginPathConfigurator.cpp	Mon Jun 11 11:38:09 2018 +0100
@@ -130,11 +130,10 @@
         case KnownPlugins::DSSIPlugin:
             return tr("DSSI (32-bit)");
         }
-    } else {
-        SVCERR << "PluginPathConfigurator::getLabelFor: WARNING: "
-               << "Unknown format value " << key.second << endl;
-        return "<unknown>";
     }
+    SVCERR << "PluginPathConfigurator::getLabelFor: WARNING: "
+           << "Unknown format value " << key.second << endl;
+    return "<unknown>";
 }
 
 PluginPathSetter::TypeKey