chore(cpn): Fix Ubuntu compiler warnings (#4257)

This commit is contained in:
Neil Horne
2023-10-28 20:02:38 +10:00
committed by GitHub
parent 2692b38ef1
commit e8d555da11
2 changed files with 0 additions and 4 deletions
@@ -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;
-3
View File
@@ -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);