Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4555)

Unified Diff: chrome/browser/chromeos/cros/mount_library.cc

Issue 8537032: Prevent unused-variable warnings in the CrOS build with gcc 4.6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/mount_library.cc
diff --git a/chrome/browser/chromeos/cros/mount_library.cc b/chrome/browser/chromeos/cros/mount_library.cc
index c95b8eef32f97a691cb2462ac649bb09ea975edc..c195cd1bca1174caba54de5dd386461b82200033 100644
--- a/chrome/browser/chromeos/cros/mount_library.cc
+++ b/chrome/browser/chromeos/cros/mount_library.cc
@@ -638,14 +638,12 @@ class MountLibraryImpl : public MountLibrary {
std::set<std::string> current_device_set;
if (error == MOUNT_METHOD_ERROR_NONE && devices && devices_len) {
// Initiate properties fetch for all removable disks,
- bool found_disk = false;
for (size_t i = 0; i < devices_len; i++) {
if (!devices[i]) {
NOTREACHED();
continue;
}
current_device_set.insert(std::string(devices[i]));
- found_disk = true;
// Initiate disk property retrieval for each relevant device path.
libcros_proxy_->CallGetDiskProperties(devices[i],
&GetDiskPropertiesCallback, this);
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698