From 271fe057cfa6cf5d286f3c6ad8bf1ffabffb11f5 Mon Sep 17 00:00:00 2001 From: "qsr@google.com" Date: Tue, 26 Jul 2011 07:45:22 +0000 Subject: Remove unused variable. BUG= TEST= Review URL: http://codereview.chromium.org/7461022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94055 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/sync/glue/session_change_processor.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'chrome/browser/sync') diff --git a/chrome/browser/sync/glue/session_change_processor.cc b/chrome/browser/sync/glue/session_change_processor.cc index c967bc5..61abbd7 100644 --- a/chrome/browser/sync/glue/session_change_processor.cc +++ b/chrome/browser/sync/glue/session_change_processor.cc @@ -63,14 +63,12 @@ void SessionChangeProcessor::Observe(int type, // Track which windows and/or tabs are modified. std::vector modified_tabs; - bool windows_changed = false; switch (type) { case chrome::NOTIFICATION_BROWSER_OPENED: { Browser* browser = Source(source).ptr(); if (browser->profile() != profile_) { return; } - windows_changed = true; VLOG(1) << "Received BROWSER_OPENED for profile " << profile_; break; } @@ -80,7 +78,6 @@ void SessionChangeProcessor::Observe(int type, if (tab->profile() != profile_) { return; } - windows_changed = true; modified_tabs.push_back(tab); VLOG(1) << "Received TAB_PARENTED for profile " << profile_; break; @@ -105,7 +102,6 @@ void SessionChangeProcessor::Observe(int type, if (!tab || tab->profile() != profile_) { return; } - windows_changed = true; modified_tabs.push_back(tab); VLOG(1) << "Received TAB_CLOSED for profile " << profile_; break; -- cgit v1.1