From a7740c3cf402a5606db95749a95e20b748dedd41 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Thu, 6 Jan 2022 19:18:26 +0300 Subject: [PATCH] [stb] Fix dead nested assignments in stbi__tga_load() --- libs/stb/stb_image.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/stb/stb_image.h b/libs/stb/stb_image.h index 0ea47afd9f..e4a227325a 100644 --- a/libs/stb/stb_image.h +++ b/libs/stb/stb_image.h @@ -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_x_origin = tga_y_origin = 0; 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 return tga_data; }