changeset 1298:f24f64e441ac plugin-path-config

Fix compiler warning
author Chris Cannam
date Mon, 11 Jun 2018 11:38:09 +0100
parents bc8134fb9752
children 91670e4e76a6
files widgets/PluginPathConfigurator.cpp
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
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