mirror of
https://github.com/reactos/reactos.git
synced 2024-06-24 06:51:47 +00:00
[SDK] Silence a GCC warning on RtlAssert
This commit is contained in:
parent
008745d951
commit
fc744405fd
|
@ -66,7 +66,7 @@ RtlAssert(
|
|||
|
||||
#ifndef assert
|
||||
#if DBG && !defined(NASSERT)
|
||||
#define assert(x) if (!(x)) { RtlAssert((PVOID)#x, (PVOID)__RELFILE__, __LINE__, ""); }
|
||||
#define assert(x) if (!(x)) { RtlAssert((PVOID)#x, (PVOID)__RELFILE__, __LINE__, (PCHAR)""); }
|
||||
#else
|
||||
#define assert(x) ((VOID) 0)
|
||||
#endif
|
||||
|
@ -74,7 +74,7 @@ RtlAssert(
|
|||
|
||||
#ifndef ASSERT
|
||||
#if DBG && !defined(NASSERT)
|
||||
#define ASSERT(x) if (!(x)) { RtlAssert((PVOID)#x, (PVOID)__RELFILE__, __LINE__, ""); }
|
||||
#define ASSERT(x) if (!(x)) { RtlAssert((PVOID)#x, (PVOID)__RELFILE__, __LINE__, (PCHAR)""); }
|
||||
#else
|
||||
#define ASSERT(x) ((VOID) 0)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue