diff options
author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-14 13:36:05 +0200 |
---|---|---|
committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-14 13:36:05 +0200 |
commit | d687493c7cbc3d112db6030ec786b4b719ba075d (patch) | |
tree | 3ba6eba6abfe4eb0796c0d600653a3c070e973a2 | |
parent | 5fbfd76293e7ce2d189e6742f0a957e538d76036 (diff) | |
download | wbg-d687493c7cbc3d112db6030ec786b4b719ba075d.tar.gz |
nanosvg: silence "may be used uninitialized" warning
-rw-r--r-- | 3rd-party/nanosvg/src/nanosvg.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |