mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[SDK] Silence a GCC warning on RtlAssert
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user