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
@@ -750,9 +750,9 @@ void SubversionPlugin::svnUpdate(const QString &workingDir, const QString &relat
|
||||
args.push_back(QLatin1String(Constants::NON_INTERACTIVE_OPTION));
|
||||
if (!relativePath.isEmpty())
|
||||
args.append(relativePath);
|
||||
const SubversionResponse response
|
||||
= runSvn(workingDir, args, 10 * m_client->vcsTimeoutS(),
|
||||
VcsCommand::SshPasswordPrompt | VcsCommand::ShowStdOut);
|
||||
const SubversionResponse response
|
||||
= runSvn(workingDir, args, 10 * m_client->vcsTimeoutS(),
|
||||
VcsCommand::SshPasswordPrompt | VcsCommand::ShowStdOut);
|
||||
if (!response.error)
|
||||
subVersionControl()->emitRepositoryChanged(workingDir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user