[client] nanosvg: disable warning for release builds

This commit is contained in:
Geoffrey McRae
2025-09-14 00:52:19 +10:00
committed by Geoffrey McRae
parent 870eb8c670
commit b7e3ef6824

View File

@@ -29,7 +29,15 @@
#define NANOSVG_IMPLEMENTATION #define NANOSVG_IMPLEMENTATION
#define NANOSVG_ALL_COLOR_KEYWORDS #define NANOSVG_ALL_COLOR_KEYWORDS
#define NANOSVGRAST_IMPLEMENTATION #define NANOSVGRAST_IMPLEMENTATION
#ifndef __clang__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#include "nanosvgrast.h" #include "nanosvgrast.h"
#pragma GCC diagnostic pop
#else
#include "nanosvgrast.h"
#endif
void overlayGetImGuiRect(struct Rect * rect) void overlayGetImGuiRect(struct Rect * rect)
{ {