Commit fa24d458 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

reg: Remove unneeded ternary operator in RegDeleteValueW().

parent 9cbff7e6
...@@ -93,7 +93,7 @@ static int run_delete(HKEY root, WCHAR *path, WCHAR *key_name, WCHAR *value_name ...@@ -93,7 +93,7 @@ static int run_delete(HKEY root, WCHAR *path, WCHAR *key_name, WCHAR *value_name
} }
else if (value_name || value_empty) else if (value_name || value_empty)
{ {
if (RegDeleteValueW(key, value_empty ? NULL : value_name) != ERROR_SUCCESS) if (RegDeleteValueW(key, value_name))
{ {
RegCloseKey(key); RegCloseKey(key);
output_message(STRING_VALUE_NONEXIST); output_message(STRING_VALUE_NONEXIST);
......
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