diff --git a/companion/src/firmwares/edgetx/yaml_rawswitch.cpp b/companion/src/firmwares/edgetx/yaml_rawswitch.cpp index 885051ab9..c5072ce7f 100644 --- a/companion/src/firmwares/edgetx/yaml_rawswitch.cpp +++ b/companion/src/firmwares/edgetx/yaml_rawswitch.cpp @@ -24,7 +24,6 @@ std::string YamlRawSwitchEncode(const RawSwitch& rhs) { std::string sw_str; - char c = 'A'; int32_t sval = rhs.index; if (rhs.index < 0) { sval = -sval; diff --git a/companion/src/simulation/debugoutput.cpp b/companion/src/simulation/debugoutput.cpp index d4c268ee7..af0688d4c 100644 --- a/companion/src/simulation/debugoutput.cpp +++ b/companion/src/simulation/debugoutput.cpp @@ -300,9 +300,6 @@ QRegularExpression DebugOutput::makeRegEx(const QString & input, bool * isExlusi QString output(input); QRegularExpression re; QRegularExpression::PatternOptions reFlags = QRegularExpression::DontCaptureOption; -#if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)) - reFlags |= QRegularExpression::OptimizeOnFirstUsageOption; -#endif if (input.left(1) == "!") { output.remove(0, 1);