[stb] Fix dead nested assignments in stbi__tga_load()

This commit is contained in:
Andrey Volk 2022-01-06 19:18:26 +03:00
parent b1ab1cf276
commit a7740c3cf4
1 changed files with 4 additions and 0 deletions

View File

@ -5806,6 +5806,10 @@ static void *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int req
tga_palette_start = tga_palette_len = tga_palette_bits = tga_palette_start = tga_palette_len = tga_palette_bits =
tga_x_origin = tga_y_origin = 0; tga_x_origin = tga_y_origin = 0;
STBI_NOTUSED(tga_palette_start); STBI_NOTUSED(tga_palette_start);
STBI_NOTUSED(tga_palette_len);
STBI_NOTUSED(tga_palette_bits);
STBI_NOTUSED(tga_x_origin);
STBI_NOTUSED(tga_y_origin);
// OK, done // OK, done
return tga_data; return tga_data;
} }