diff --git a/include/util/assert.hpp b/include/util/assert.hpp index f6761cc64..d4cd00c22 100644 --- a/include/util/assert.hpp +++ b/include/util/assert.hpp @@ -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, "")