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

Unified Diff: chrome/browser/sync/engine/syncer.cc

Issue 279004: Made sync code build and pass unit tests on OS X. (Closed)
Patch Set: Fixed uninitialized var error. Created 11 years, 2 months 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
Index: chrome/browser/sync/engine/syncer.cc
diff --git a/chrome/browser/sync/engine/syncer.cc b/chrome/browser/sync/engine/syncer.cc
index 9274edf2165857dec7c230d4d4176ca28fe7931d..de8b1b22d49d5934738e437d7a2645e38791d553 100644
--- a/chrome/browser/sync/engine/syncer.cc
+++ b/chrome/browser/sync/engine/syncer.cc
@@ -118,7 +118,7 @@ void Syncer::SyncShare(SyncerSession* session,
// Reset silenced_until_, it is the callers responsibility to honor throttles.
silenced_until_ = session->silenced_until();
- SyncerStep next_step;
+ SyncerStep next_step = current_step;
while (!ExitRequested()) {
switch (current_step) {
case SYNCER_BEGIN:

Powered by Google App Engine
This is Rietveld 408576698