From 5f7410057c965da0a7454e3756e19b5e71cc43b8 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Thu, 11 May 2017 17:18:02 +0200 Subject: [PATCH] Fix OSRM_ASSERT_MSG compilation fail in Release mode --- include/util/assert.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, "")