Index: chrome/browser/component_updater/sw_reporter_installer_win.cc |
diff --git a/chrome/browser/component_updater/sw_reporter_installer_win.cc b/chrome/browser/component_updater/sw_reporter_installer_win.cc |
index 513362f08f8590aef98f1d390f382a31ab0febfa..75f83c0ea2639ebe1475b2fd7bd3e82dfbe69861 100644 |
--- a/chrome/browser/component_updater/sw_reporter_installer_win.cc |
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.cc |
@@ -254,7 +254,7 @@ void ExecutePendingSwReporter(ComponentUpdateService* cus, PrefService* prefs) { |
// Retrieve the results if the pending request has completed. |
base::win::RegKey srt_key( |
HKEY_CURRENT_USER, kSoftwareRemovalToolRegistryKey, KEY_READ); |
- DWORD exit_code = -1; |
+ DWORD exit_code; |
if (srt_key.Valid() && |
srt_key.ReadValueDW(kExitCodeRegistryValueName, &exit_code) == |
ERROR_SUCCESS) { |