From de4fe01c9448a78eb5078334ccb508e0eec5b137 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 31 May 2022 20:08:26 +0200 Subject: [PATCH] Fix clang build --- code/Common/StbCommon.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/Common/StbCommon.h b/code/Common/StbCommon.h index 47d5f1fbb..3e1fb5460 100644 --- a/code/Common/StbCommon.h +++ b/code/Common/StbCommon.h @@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #pragma warning(disable : 4505) #else #pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wunused-variable" +#pragma GCC diagnostic ignored "-Wunused-function" #endif #define STB_IMAGE_STATIC @@ -57,3 +57,4 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #else #pragma GCC diagnostic pop #endif +