]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[stb] Fix dead nested assignments in stbi__tga_load()
authorAndrey Volk <andywolk@gmail.com>
Thu, 6 Jan 2022 16:18:26 +0000 (19:18 +0300)
committerAndrey Volk <andywolk@gmail.com>
Tue, 9 Aug 2022 20:13:11 +0000 (23:13 +0300)
libs/stb/stb_image.h

index 0ea47afd9fa788f54f942349de6ee5652f27106a..e4a227325acde810b45b27ee0546b1601591d885 100644 (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_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;
 }