chore(cpn): Fix Ubuntu compiler warnings (#4257)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user