Fix OSRM_ASSERT_MSG compilation fail in Release mode

This commit is contained in:
Michael Krasnyk 2017-05-11 17:18:02 +02:00 committed by Patrick Niklaus
parent 3546abc30e
commit 14db5f8d1f

View File

@ -34,9 +34,9 @@
#define OSRM_ASSERT_MSG(cond, coordinate, msg) \
do \
{ \
(void)cond; \
(void)coordinate; \
(void)msg; \
(void)(cond); \
(void)(coordinate); \
(void)(msg); \
} while (0)
#define OSRM_ASSERT(cond, coordinate) OSRM_ASSERT_MSG(cond, coordinate, "")