Commit f513c617 authored by dcheng@chromium.org's avatar dcheng@chromium.org

Fix Precise build.

Precise's gcc warns about variables that are set but never used.

BUG=none
TEST=compiles on Precise.


Review URL: https://chromiumcodereview.appspot.com/10829088

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149073 0039d316-1c4b-4281-b951-d872f2087c98
parent 58fe95b4
...@@ -105,7 +105,6 @@ void SyncBackendHostForProfileSyncTest ...@@ -105,7 +105,6 @@ void SyncBackendHostForProfileSyncTest
syncer::ModelTypeSet restored_types) { syncer::ModelTypeSet restored_types) {
// Here's our opportunity to pretend to do things that the SyncManager would // Here's our opportunity to pretend to do things that the SyncManager would
// normally do during initialization, but can't because this is a test. // normally do during initialization, but can't because this is a test.
bool send_passphrase_required = false;
if (success) { if (success) {
// Set up any nodes the test wants around before model association. // Set up any nodes the test wants around before model association.
if (!callback_.is_null()) { if (!callback_.is_null()) {
...@@ -124,7 +123,6 @@ void SyncBackendHostForProfileSyncTest ...@@ -124,7 +123,6 @@ void SyncBackendHostForProfileSyncTest
// A side effect of adding the NIGORI mode (normally done by the // A side effect of adding the NIGORI mode (normally done by the
// syncer) is a decryption attempt, which will fail the first time. // syncer) is a decryption attempt, which will fail the first time.
send_passphrase_required = true;
} }
SetInitialSyncEndedForAllTypes(); SetInitialSyncEndedForAllTypes();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment