mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refactor: Fix clang-tidy warnings
This commit is contained in:
@@ -369,7 +369,7 @@ namespace swift::misc
|
||||
m_originalTimestamps.clear();
|
||||
|
||||
QFile revisionFile(CFileUtils::appendFilePaths(m_basename, ".rev"));
|
||||
if ((m_found = revisionFile.exists()))
|
||||
if (m_found = revisionFile.exists(); m_found)
|
||||
{
|
||||
if (!revisionFile.open(QFile::ReadOnly | QFile::Text))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user