mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
Don't reset LastError on success
svn path=/trunk/; revision=9960
This commit is contained in:
parent
1c2af8076a
commit
db3e54f680
1 changed files with 1 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: create.c,v 1.35 2004/01/23 21:16:03 ekohl Exp $
|
||||
/* $Id: create.c,v 1.36 2004/07/01 22:36:16 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -286,10 +286,6 @@ HANDLE STDCALL CreateFileW (LPCWSTR lpFileName,
|
|||
{
|
||||
SetLastError(ERROR_ALREADY_EXISTS);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetLastError(0);
|
||||
}
|
||||
|
||||
return FileHandle;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue