From 1f9fce8e53ee6b778362e8ef4b2fb9b497ebf15e Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Wed, 23 Nov 2016 00:54:07 -0800 Subject: [PATCH] Remove semicolon in macro. (#59) --- src/common/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/common.h b/src/common/common.h index 2c2d39402..107e4d689 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -64,14 +64,14 @@ const int calls = backtrace(buffer, sizeof(buffer) / sizeof(void *)); \ backtrace_symbols_fd(buffer, calls, 1); \ exit(-1); \ - } while (0); + } while (0) #else #define LOG_FATAL(M, ...) \ do { \ fprintf(stderr, "[FATAL] (%s:%d) " M "\n", __FILE__, __LINE__, \ ##__VA_ARGS__); \ exit(-1); \ - } while (0); + } while (0) #endif #define CHECKM(COND, M, ...) \