mpr: Don't set LastError if no error occured.

This commit is contained in:
Vitaly Perov 2009-06-01 20:57:16 +04:00 committed by Alexandre Julliard
parent 16dc037859
commit d7098d0f4f
1 changed files with 1 additions and 1 deletions

View File

@ -1949,7 +1949,7 @@ DWORD WINAPI WNetGetUniversalNameW ( LPCWSTR lpLocalPath, DWORD dwInfoLevel,
break;
}
SetLastError(err);
if (err != WN_NO_ERROR) SetLastError(err);
return err;
}