mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Don't reset LastError on success
svn path=/trunk/; revision=9960
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user