gs: silence a couple warnings

This commit is contained in:
Kojin 2021-05-18 00:52:06 -04:00
parent 3ed58ffde0
commit 59e06c8bbd
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@
#define EXPORT_C_(type) extern "C" type __stdcall #define EXPORT_C_(type) extern "C" type __stdcall
#define EXPORT_C EXPORT_C_(void) #define EXPORT_C EXPORT_C_(void)
#define ALIGN_STACK(n) alignas(n) int dummy__; #define ALIGN_STACK(n) alignas(n) int dummy__; (void)dummy__;
#else #else

View File

@ -1682,7 +1682,7 @@ void GSState::FlushPrim()
{ {
// could be an unsupported draw call // could be an unsupported draw call
} }
catch (const std::bad_alloc& e) catch (const std::bad_alloc&)
{ {
// Texture Out Of Memory // Texture Out Of Memory
PurgePool(); PurgePool();