Fix parameters hidden by local variables.

This commit is contained in:
Bill King
2010-06-11 13:35:22 +10:00
parent 9a075e2c48
commit 55edbe1c5b
12 changed files with 55 additions and 55 deletions

View File

@@ -1785,8 +1785,8 @@ void GitClient::setSettings(const GitSettings &s)
{
if (s != m_settings) {
m_settings = s;
if (QSettings *s = m_core->settings())
m_settings.toSettings(s);
if (QSettings *coreSettings = m_core->settings())
m_settings.toSettings(coreSettings);
m_binaryPath = m_settings.gitBinaryPath();
m_cachedGitVersion = 0u;
m_hasCachedGitVersion = false;