Remove MBGL_UNUSED (#2172)

This commit is contained in:
Bart Louwers
2024-04-03 04:48:52 +02:00
committed by GitHub
parent 9f8ae7a98b
commit f9defa4e83
2 changed files with 2 additions and 14 deletions

View File

@@ -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];