diff options
author | pph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-01 06:48:16 +0000 |
---|---|---|
committer | pph34r@gmail.com <pph34r@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-01 06:48:16 +0000 |
commit | c8a6432e13ee69c4deaa9c7ec549c0e00b0e237c (patch) | |
tree | 8689060403320428255135c52728bfdea2349bf1 /chrome/browser/automation/automation_provider_observers.cc | |
parent | 2e615f9166f359f41b987ff35f1e326f9f8ba8b0 (diff) | |
download | chromium_src-c8a6432e13ee69c4deaa9c7ec549c0e00b0e237c.zip chromium_src-c8a6432e13ee69c4deaa9c7ec549c0e00b0e237c.tar.gz chromium_src-c8a6432e13ee69c4deaa9c7ec549c0e00b0e237c.tar.bz2 |
GCC 4.6 -Wunused-but-set-variable cleanup.
BUG=87490
TEST=None
Review URL: http://codereview.chromium.org/7263013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider_observers.cc')
-rw-r--r-- | chrome/browser/automation/automation_provider_observers.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc index 95b103d..0323870 100644 --- a/chrome/browser/automation/automation_provider_observers.cc +++ b/chrome/browser/automation/automation_provider_observers.cc @@ -598,24 +598,20 @@ void ExtensionReadyNotificationObserver::Observe( return; } - bool success = false; switch (type.value) { case NotificationType::EXTENSION_HOST_DID_STOP_LOADING: // Only continue on with this method if our extension has been loaded // and all the extension hosts have stopped loading. if (!extension_ || !DidExtensionHostsStopLoading(manager_)) return; - success = true; break; case NotificationType::EXTENSION_LOADED: extension_ = Details<const Extension>(details).ptr(); if (!DidExtensionHostsStopLoading(manager_)) return; - success = true; break; case NotificationType::EXTENSION_INSTALL_ERROR: case NotificationType::EXTENSION_UPDATE_DISABLED: - success = false; break; default: NOTREACHED(); |