mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
reg: Remove wrong and useless check (Coverity).
This commit is contained in:
parent
82379e83e3
commit
93dad930cd
1 changed files with 0 additions and 7 deletions
|
@ -279,13 +279,6 @@ static int reg_delete(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
|
|||
DWORD count;
|
||||
LONG rc;
|
||||
|
||||
if (value_name)
|
||||
{
|
||||
RegCloseKey(subkey);
|
||||
reg_message(STRING_INVALID_CMDLINE);
|
||||
return 1;
|
||||
}
|
||||
|
||||
rc = RegQueryInfoKeyW(subkey, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
||||
&maxValue, NULL, NULL, NULL);
|
||||
if (rc != ERROR_SUCCESS)
|
||||
|
|
Loading…
Reference in a new issue