From a919a57ad2226a200759ad440e382f74a23c875e Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 17 May 2018 00:41:19 -0700 Subject: [PATCH] util: remove extra semicolon from static_assert() polyfill --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.h b/src/util.h index 67605de..803de5d 100644 --- a/src/util.h +++ b/src/util.h @@ -28,7 +28,7 @@ typedef intptr_t ssize_t; /* Polyfill `static_assert` for some versions of clang and gcc. */ #if (defined(__clang__) || defined(__GNUC__)) && !defined(static_assert) #define static_assert(condition, message) typedef __attribute__( \ - (__unused__)) int __static_assert_##__LINE__[(condition) ? 1 : -1]; + (__unused__)) int __static_assert_##__LINE__[(condition) ? 1 : -1] #endif #endif /* WEPOLL_UTIL_H_ */