ClangTools: Remove useless member FixitsRefactoringFile::m_filePath

Change-Id: I686eddeea7c52096175c3b2fe1a519e8fbf2c876
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2020-08-31 14:43:17 +02:00
parent 7bbbdeac52
commit e4dec0484c
3 changed files with 0 additions and 11 deletions

View File

@@ -75,13 +75,9 @@ static QDebug operator<<(QDebug debug, const ReplacementOperation &op)
bool FixitsRefactoringFile::apply()
{
qCDebug(fixitsLog) << "Applying fixits for" << m_filePath;
if (m_replacementOperations.isEmpty())
return false; // Error nothing to apply TODO: Is this correct to return?
QTC_ASSERT(!m_filePath.isEmpty(), return false);
ICodeStylePreferencesFactory *factory = TextEditorSettings::codeStyleFactory(
CppTools::Constants::CPP_SETTINGS_ID);