Skip to content

Commit

Permalink
Don't need to disable MSVC warnings 5031 and 5032
Browse files Browse the repository at this point in the history
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 #679.
  • Loading branch information
wantehchang committed Jun 18, 2021
1 parent 859e731 commit 26c7ed6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/shared/avifutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,6 @@ void avifDumpDiagnostics(const avifDiagnostics * diag)

// Windows

#pragma warning(disable : 5031)
#pragma warning(disable : 5032)
#include <windows.h>

int avifQueryCPUCount(void)
Expand Down

0 comments on commit 26c7ed6

Please sign in to comment.