Fix OSRM_ASSERT_MSG compilation fail in Release mode
This commit is contained in:
parent
3546abc30e
commit
14db5f8d1f
@ -34,9 +34,9 @@
|
|||||||
#define OSRM_ASSERT_MSG(cond, coordinate, msg) \
|
#define OSRM_ASSERT_MSG(cond, coordinate, msg) \
|
||||||
do \
|
do \
|
||||||
{ \
|
{ \
|
||||||
(void)cond; \
|
(void)(cond); \
|
||||||
(void)coordinate; \
|
(void)(coordinate); \
|
||||||
(void)msg; \
|
(void)(msg); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define OSRM_ASSERT(cond, coordinate) OSRM_ASSERT_MSG(cond, coordinate, "")
|
#define OSRM_ASSERT(cond, coordinate) OSRM_ASSERT_MSG(cond, coordinate, "")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user