Commit e7f41455 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

services: Remove unneeded shadow variable.

parent 66779827
...@@ -82,8 +82,7 @@ DWORD load_reg_string(HKEY hKey, LPCWSTR szValue, BOOL bExpand, LPWSTR *output) ...@@ -82,8 +82,7 @@ DWORD load_reg_string(HKEY hKey, LPCWSTR szValue, BOOL bExpand, LPWSTR *output)
if (type == REG_EXPAND_SZ) if (type == REG_EXPAND_SZ)
{ {
LPWSTR str; LPWSTR str;
DWORD size = ExpandEnvironmentStringsW(buf, NULL, 0); if (!(size = ExpandEnvironmentStringsW(buf, NULL, 0)))
if (size == 0)
{ {
err = GetLastError(); err = GetLastError();
goto failed; goto failed;
......
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