[WIN32SS:GDI] eng/error.c: Minor code tweaks (#6128)

- Remove a useless debug.h include.
- Use the initialized pTeb pointer.
- Remove a useless else.
- Add a SAL2 annotation.
This commit is contained in:
Serge Gautherie 2023-12-17 22:13:45 +01:00 committed by GitHub
parent 91d291f766
commit bf7e7c2383
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 11 deletions

View file

@ -60,9 +60,9 @@ DWORD
NTAPI
RegGetSectionDWORD(LPCWSTR pszSection, LPWSTR pszValue, DWORD dwDefault);
VOID FASTCALL
SetLastNtError(
NTSTATUS Status);
VOID
FASTCALL
SetLastNtError(_In_ NTSTATUS Status);
typedef struct _GDI_POOL *PGDI_POOL;