[client] nanosvg: disable warning for release builds

This commit is contained in:
Geoffrey McRae authored and Geoffrey McRae committed 2025-09-14 01:12:16 +10:00
1 parent 870eb8c670
commit b7e3ef6824
1 file changed
+9 -1
+9 -1
View File
@@ -29,7 +29,15 @@
#define NANOSVG_IMPLEMENTATION
#define NANOSVG_ALL_COLOR_KEYWORDS
#define NANOSVGRAST_IMPLEMENTATION
#include "nanosvgrast.h"
#ifndef __clang__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#include "nanosvgrast.h"
#pragma GCC diagnostic pop
#else
#include "nanosvgrast.h"
#endif
void overlayGetImGuiRect(struct Rect * rect)
{