Remove MBGL_UNUSED (#2172)
This commit is contained in:
@@ -10,14 +10,8 @@
|
||||
#include <cstring>
|
||||
#include <stdexcept>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define MBGL_UNUSED __attribute__((unused))
|
||||
#else
|
||||
#define MBGL_UNUSED
|
||||
#endif
|
||||
|
||||
// Check zlib library version.
|
||||
const static bool zlibVersionCheck MBGL_UNUSED = []() {
|
||||
[[maybe_unused]] const static bool zlibVersionCheck = []() {
|
||||
const char *const version = zlibVersion();
|
||||
if (version[0] != ZLIB_VERSION[0]) {
|
||||
char message[96];
|
||||
|
||||
Reference in New Issue
Block a user