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) \ #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, "")