From 26c7ed610321aec6d5af3a1186f34c10d0a5be52 Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Thu, 17 Jun 2021 17:06:16 -0700 Subject: [PATCH] Don't need to disable MSVC warnings 5031 and 5032 Since #pragma warning(push) and #pragma warning(pop) are not used in this file, we cannot possibly get MSVC warnings 5031 and 5032. Therefore it is not necessary to disable these two warnings. Fix https://github.com/AOMediaCodec/libavif/issues/679. --- apps/shared/avifutil.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/shared/avifutil.c b/apps/shared/avifutil.c index 5ae7553ae3..c3760a3edb 100644 --- a/apps/shared/avifutil.c +++ b/apps/shared/avifutil.c @@ -228,8 +228,6 @@ void avifDumpDiagnostics(const avifDiagnostics * diag) // Windows -#pragma warning(disable : 5031) -#pragma warning(disable : 5032) #include int avifQueryCPUCount(void)