mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[SACDRV] Fix CHECK_PARAMETER_WITH_STATUS error handling macro
This commit is contained in:
parent
05f4951b8c
commit
403fec1b27
1 changed files with 2 additions and 3 deletions
|
@ -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; \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue