diff --git a/RedPandaIDE/parser/cppparser.cpp b/RedPandaIDE/parser/cppparser.cpp index ee61b0d5..b5eb3409 100644 --- a/RedPandaIDE/parser/cppparser.cpp +++ b/RedPandaIDE/parser/cppparser.cpp @@ -4170,6 +4170,7 @@ void CppParser::handleVar(const QString& typePrefix,bool isExtern,bool isStatic, break; } //not function pointer, fall through + [[fallthrough]]; case '{': tempType=""; if (mIndex+1 project = pMainWindow->project(); if (!project) diff --git a/RedPandaIDE/settingsdialog/projectgeneralwidget.ui b/RedPandaIDE/settingsdialog/projectgeneralwidget.ui index d8ea7845..07717773 100644 --- a/RedPandaIDE/settingsdialog/projectgeneralwidget.ui +++ b/RedPandaIDE/settingsdialog/projectgeneralwidget.ui @@ -167,7 +167,7 @@ - + diff --git a/libs/qsynedit/qsynedit/qsynedit.cpp b/libs/qsynedit/qsynedit/qsynedit.cpp index 0201afd0..e6bd680f 100644 --- a/libs/qsynedit/qsynedit/qsynedit.cpp +++ b/libs/qsynedit/qsynedit/qsynedit.cpp @@ -3786,7 +3786,6 @@ ScrollStyle QSynEdit::scrollBars() const void QSynEdit::setScrollBars(ScrollStyle newScrollBars) { - ScrollStyle oldScrollBars = mScrollBars; mScrollBars = newScrollBars; if (mScrollBars == ScrollStyle::ssBoth || mScrollBars == ScrollStyle::ssHorizontal) { if (mOptions.testFlag(eoHideShowScrollbars)) {