mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[SDK] Silence a GCC warning on RtlAssert
This commit is contained in:
parent
008745d951
commit
fc744405fd
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ RtlAssert(
|
||||||
|
|
||||||
#ifndef assert
|
#ifndef assert
|
||||||
#if DBG && !defined(NASSERT)
|
#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
|
#else
|
||||||
#define assert(x) ((VOID) 0)
|
#define assert(x) ((VOID) 0)
|
||||||
#endif
|
#endif
|
||||||
|
@ -74,7 +74,7 @@ RtlAssert(
|
||||||
|
|
||||||
#ifndef ASSERT
|
#ifndef ASSERT
|
||||||
#if DBG && !defined(NASSERT)
|
#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
|
#else
|
||||||
#define ASSERT(x) ((VOID) 0)
|
#define ASSERT(x) ((VOID) 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue