ntdll/tests: Remove a redundant 'if'.
This commit is contained in:
parent
be19acfbe8
commit
b0cf129c98
|
@ -161,32 +161,29 @@ static BOOL InitFunctionPtrs(void)
|
|||
trace("Could not load ntdll.dll\n");
|
||||
return FALSE;
|
||||
}
|
||||
if (hntdll)
|
||||
{
|
||||
NTDLL_GET_PROC(RtlCreateUnicodeStringFromAsciiz)
|
||||
NTDLL_GET_PROC(RtlCreateUnicodeString)
|
||||
NTDLL_GET_PROC(RtlFreeUnicodeString)
|
||||
NTDLL_GET_PROC(NtDeleteValueKey)
|
||||
NTDLL_GET_PROC(RtlQueryRegistryValues)
|
||||
NTDLL_GET_PROC(RtlCheckRegistryKey)
|
||||
NTDLL_GET_PROC(RtlOpenCurrentUser)
|
||||
NTDLL_GET_PROC(NtClose)
|
||||
NTDLL_GET_PROC(NtDeleteValueKey)
|
||||
NTDLL_GET_PROC(NtCreateKey)
|
||||
NTDLL_GET_PROC(NtFlushKey)
|
||||
NTDLL_GET_PROC(NtDeleteKey)
|
||||
NTDLL_GET_PROC(NtQueryValueKey)
|
||||
NTDLL_GET_PROC(NtSetValueKey)
|
||||
NTDLL_GET_PROC(NtOpenKey)
|
||||
NTDLL_GET_PROC(RtlFormatCurrentUserKeyPath)
|
||||
NTDLL_GET_PROC(RtlReAllocateHeap)
|
||||
NTDLL_GET_PROC(RtlAppendUnicodeToString)
|
||||
NTDLL_GET_PROC(RtlUnicodeStringToAnsiString)
|
||||
NTDLL_GET_PROC(RtlFreeHeap)
|
||||
NTDLL_GET_PROC(RtlAllocateHeap)
|
||||
NTDLL_GET_PROC(RtlZeroMemory)
|
||||
NTDLL_GET_PROC(RtlpNtQueryValueKey)
|
||||
}
|
||||
NTDLL_GET_PROC(RtlCreateUnicodeStringFromAsciiz)
|
||||
NTDLL_GET_PROC(RtlCreateUnicodeString)
|
||||
NTDLL_GET_PROC(RtlFreeUnicodeString)
|
||||
NTDLL_GET_PROC(NtDeleteValueKey)
|
||||
NTDLL_GET_PROC(RtlQueryRegistryValues)
|
||||
NTDLL_GET_PROC(RtlCheckRegistryKey)
|
||||
NTDLL_GET_PROC(RtlOpenCurrentUser)
|
||||
NTDLL_GET_PROC(NtClose)
|
||||
NTDLL_GET_PROC(NtDeleteValueKey)
|
||||
NTDLL_GET_PROC(NtCreateKey)
|
||||
NTDLL_GET_PROC(NtFlushKey)
|
||||
NTDLL_GET_PROC(NtDeleteKey)
|
||||
NTDLL_GET_PROC(NtQueryValueKey)
|
||||
NTDLL_GET_PROC(NtSetValueKey)
|
||||
NTDLL_GET_PROC(NtOpenKey)
|
||||
NTDLL_GET_PROC(RtlFormatCurrentUserKeyPath)
|
||||
NTDLL_GET_PROC(RtlReAllocateHeap)
|
||||
NTDLL_GET_PROC(RtlAppendUnicodeToString)
|
||||
NTDLL_GET_PROC(RtlUnicodeStringToAnsiString)
|
||||
NTDLL_GET_PROC(RtlFreeHeap)
|
||||
NTDLL_GET_PROC(RtlAllocateHeap)
|
||||
NTDLL_GET_PROC(RtlZeroMemory)
|
||||
NTDLL_GET_PROC(RtlpNtQueryValueKey)
|
||||
return TRUE;
|
||||
}
|
||||
#undef NTDLL_GET_PROC
|
||||
|
|
Loading…
Reference in New Issue