From d687493c7cbc3d112db6030ec786b4b719ba075d Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 14 Jul 2024 13:36:05 +0200 Subject: nanosvg: silence "may be used uninitialized" warning --- 3rd-party/nanosvg/src/nanosvg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rd-party/nanosvg/src/nanosvg.h b/3rd-party/nanosvg/src/nanosvg.h index 60a3238..8e58b80 100644 --- a/3rd-party/nanosvg/src/nanosvg.h +++ b/3rd-party/nanosvg/src/nanosvg.h @@ -1653,7 +1653,7 @@ static int nsvg__parseRotate(float* xform, const char* str) static void nsvg__parseTransform(float* xform, const char* str) { - float t[6]; + float t[6] = {0}; int len; nsvg__xformIdentity(xform); while (*str) -- cgit v1.2.3