Commit 149b972f authored by jhawkins@chromium.org's avatar jhawkins@chromium.org

Coverity: Fix dead code.

|type| was never passed in to ReadValue().

CID_COUNT=1
CID=103427
BUG=none
TEST=none
R=asvitkine

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124881 0039d316-1c4b-4281-b951-d872f2087c98
parent 7b662cbb
......@@ -224,7 +224,7 @@ LONG RegKey::ReadValues(const wchar_t* name,
DWORD type = REG_MULTI_SZ;
DWORD size = 0;
LONG result = ReadValue(name, NULL, &size, NULL);
LONG result = ReadValue(name, NULL, &size, &type);
if (FAILED(result) || size == 0)
return result;
......
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