Fix GCC output being annoying with ACSVM

This commit is contained in:
NepDisk 2025-06-30 14:00:20 -04:00
parent 2be0f7baa9
commit 107b822f54
2 changed files with 6 additions and 2 deletions

View file

@ -9,7 +9,9 @@
// Thread execution.
//
//-----------------------------------------------------------------------------
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#include "Thread.hpp"
#include "Array.hpp"

View file

@ -9426,8 +9426,10 @@ UINT16 P_PartialAddWadFile(const char *wadfilename, wadcompat_t compat)
{
name = lumpinfo->name;
if (P_CheckSoundReplacements(name, i));
if (P_CheckSoundReplacements(name, i))
{
continue;
}
if (!allvotereplaced && P_CheckVoteReplacements(name))
allvotereplaced = true;