From 53059f298a78c0b2b50963a708b37a937807faca Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 5 Jun 2020 22:05:34 +0000 Subject: [PATCH] [core] fix stbi scan-build warning --- libs/stb/stb_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/stb/stb_image.h b/libs/stb/stb_image.h index 2857f05d38..0ea47afd9f 100644 --- a/libs/stb/stb_image.h +++ b/libs/stb/stb_image.h @@ -602,7 +602,7 @@ typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1]; #ifdef _MSC_VER #define STBI_NOTUSED(v) (void)(v) #else -#define STBI_NOTUSED(v) (void)sizeof(v) +#define STBI_NOTUSED(v) (void)(v) #endif #ifdef _MSC_VER