| Index: base/win/registry.cc
|
| diff --git a/base/win/registry.cc b/base/win/registry.cc
|
| index 23ad12cad649391cdf87d04c552c2ab0e5153ec0..b39b7494c09ab88a9dd654135b127d85e87722ed 100644
|
| --- a/base/win/registry.cc
|
| +++ b/base/win/registry.cc
|
| @@ -662,8 +662,8 @@ void RegistryKeyIterator::Initialize(HKEY root_key,
|
| key_ = NULL;
|
| } else {
|
| DWORD count = 0;
|
| - LONG result = ::RegQueryInfoKey(key_, NULL, 0, NULL, &count, NULL, NULL,
|
| - NULL, NULL, NULL, NULL, NULL);
|
| + result = ::RegQueryInfoKey(key_, NULL, 0, NULL, &count, NULL, NULL, NULL,
|
| + NULL, NULL, NULL, NULL);
|
|
|
| if (result != ERROR_SUCCESS) {
|
| ::RegCloseKey(key_);
|
|
|