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

Unified Diff: chrome/browser/sync/engine/syncer_thread.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_thread.cc
diff --git a/chrome/browser/sync/engine/syncer_thread.cc b/chrome/browser/sync/engine/syncer_thread.cc
index 073b5eab042b12374328e1281aac9ae6e039d7aa..0861940e03b2bbc36f646d60edd4ea3a568fa85b 100644
--- a/chrome/browser/sync/engine/syncer_thread.cc
+++ b/chrome/browser/sync/engine/syncer_thread.cc
@@ -75,7 +75,7 @@ int UserIdleTime() {
}
int64 idle_time; // in nanoseconds
- Boolean success;
+ Boolean success = false;
if (CFGetTypeID(object) == CFNumberGetTypeID()) {
success = CFNumberGetValue((CFNumberRef)object,
kCFNumberSInt64Type,

Powered by Google App Engine
This is Rietveld 408576698