From 7ac73dbbc4bcb78e00a751b8a3a8baf276578148 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Thu, 11 Nov 2004 11:21:30 +0000 Subject: [PATCH] RegSetValueExA: lpData can be NULL. This fixes three failures of the WINE regression tests. svn path=/trunk/; revision=11614 --- reactos/lib/advapi32/reg/reg.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/reactos/lib/advapi32/reg/reg.c b/reactos/lib/advapi32/reg/reg.c index 4e8e98ce11e..9f5c4bc1fff 100644 --- a/reactos/lib/advapi32/reg/reg.c +++ b/reactos/lib/advapi32/reg/reg.c @@ -1,4 +1,4 @@ -/* $Id: reg.c,v 1.61 2004/10/10 10:43:23 ekohl Exp $ +/* $Id: reg.c,v 1.62 2004/11/11 11:21:30 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -3112,12 +3112,6 @@ RegSetValueExA (HKEY hKey, LPBYTE pData; DWORD DataSize; - if (lpData == NULL) - { - SetLastError (ERROR_INVALID_PARAMETER); - return ERROR_INVALID_PARAMETER; - } - if (lpValueName != NULL && strlen(lpValueName) != 0) {