forked from qt-creator/qt-creator
Fix compiler warnings
- private field 'm_postId' is not used - private field 'm_hostChecked' is not used - missing field 'AcrossEmptyLines' initializer Change-Id: I1e31c79e078bcb68d053202ad322299b92c4fa38 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -34,8 +34,8 @@ clang::format::FormatStyle qtcStyle()
|
||||
style.AccessModifierOffset = -4;
|
||||
style.AlignAfterOpenBracket = FormatStyle::BAS_Align;
|
||||
#if LLVM_VERSION_MAJOR >= 15
|
||||
style.AlignConsecutiveAssignments = {false};
|
||||
style.AlignConsecutiveDeclarations = {false};
|
||||
style.AlignConsecutiveAssignments = {false, false, false, false, false};
|
||||
style.AlignConsecutiveDeclarations = {false, false, false, false, false};
|
||||
#elif LLVM_VERSION_MAJOR >= 12
|
||||
style.AlignConsecutiveAssignments = FormatStyle::ACS_None;
|
||||
style.AlignConsecutiveDeclarations = FormatStyle::ACS_None;
|
||||
|
@@ -34,8 +34,6 @@ private:
|
||||
QNetworkReply *m_listReply = nullptr;
|
||||
|
||||
QString m_fetchId;
|
||||
int m_postId = -1;
|
||||
bool m_hostChecked = false;
|
||||
};
|
||||
|
||||
} // CodePaster
|
||||
|
Reference in New Issue
Block a user