Signed-off-by: Serge Gautherie winehq-git_serge_180711@gautherie.fr --- dlls/ntdll/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/version.c b/dlls/ntdll/version.c index 61e48f6..e03bc69 100644 --- a/dlls/ntdll/version.c +++ b/dlls/ntdll/version.c @@ -637,7 +637,7 @@ void WINAPI RtlGetNtVersionNumbers( LPDWORD major, LPDWORD minor, LPDWORD build */ BOOLEAN WINAPI RtlGetNtProductType( LPDWORD type ) { - if (type) *type = current_version->wProductType; + *type = current_version->wProductType; return TRUE; }