pineapple/externals/vcpkg/ports/sdl2-image/0001-sdl2-image-potentially-uninitialized_local-pointer-variable-start.patch
2022-07-23 03:01:36 +02:00

12 lines
367 B
Diff
Executable file

--- a/nanosvg.h
+++ b/nanosvg.h
@@ -2778,7 +2778,7 @@ static void nsvg__content(void* ud, const char* s)
if (p->styleFlag) {
int state = 0;
- const char* start;
+ const char* start = 0;
while (*s) {
char c = *s;
if (nsvg__isspace(c) || c == '{') {