mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08:00
[SACDRV] Fix CHECK_PARAMETER_WITH_STATUS error handling macro
This commit is contained in:
@@ -44,10 +44,9 @@
|
||||
//
|
||||
// SAC Parameter Checking Macros
|
||||
//
|
||||
#define CHECK_PARAMETER_WITH_STATUS(Parameter, Status) \
|
||||
#define CHECK_PARAMETER_WITH_STATUS(Condition, Status) \
|
||||
{ \
|
||||
ASSERT(((PVOID)(Parameter)) != NULL); \
|
||||
if (((PVOID)(Parameter)) == NULL) \
|
||||
if (!NT_VERIFY(Condition)) \
|
||||
{ \
|
||||
return Status; \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user