forked from qt-creator/qt-creator
vcs: fix compiler warning
this 'if' clause does not guard Change-Id: I91cdabf9b770f58cc59ca00df6574c757c2618b5 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Tobias Hunger
parent
ccb7aa8185
commit
7c5836986f
@@ -1334,9 +1334,8 @@ void ClearCasePlugin::ccUpdate(const QString &workingDir, const QStringList &rel
|
||||
args << QLatin1String("-noverwrite");
|
||||
if (!relativePaths.isEmpty())
|
||||
args.append(relativePaths);
|
||||
const ClearCaseResponse response =
|
||||
runCleartool(workingDir, args, m_settings.longTimeOutS(),
|
||||
VcsCommand::ShowStdOut);
|
||||
const ClearCaseResponse response =
|
||||
runCleartool(workingDir, args, m_settings.longTimeOutS(), VcsCommand::ShowStdOut);
|
||||
if (!response.error)
|
||||
clearCaseControl()->emitRepositoryChanged(workingDir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user