From e3151fb155563614e7d1ea70e7f17040d5d39749 Mon Sep 17 00:00:00 2001 From: RektInator Date: Mon, 24 Dec 2018 22:19:40 +0100 Subject: [PATCH] [FastFiles] Fixed compiler warnings --- src/Components/Modules/FastFiles.cpp | 2 +- src/Game/Structs.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Modules/FastFiles.cpp b/src/Components/Modules/FastFiles.cpp index e36bae4b..67187114 100644 --- a/src/Components/Modules/FastFiles.cpp +++ b/src/Components/Modules/FastFiles.cpp @@ -484,7 +484,7 @@ namespace Components } #endif - void FastFiles::Load_XSurfaceArray(int atStreamStart, int count) + void FastFiles::Load_XSurfaceArray(int atStreamStart, int /*count*/) { // read the actual count from the varXModelSurfs ptr auto surface = *reinterpret_cast(0x0112A95C); diff --git a/src/Game/Structs.hpp b/src/Game/Structs.hpp index 0a78b2c8..29724f85 100644 --- a/src/Game/Structs.hpp +++ b/src/Game/Structs.hpp @@ -4756,7 +4756,7 @@ namespace Game R_RENDERTARGET_NONE = 0xD, }; - struct __declspec(align(16)) GfxCmdBufState + struct /*__declspec(align(16))*/ GfxCmdBufState { char refSamplerState[16]; unsigned int samplerState[16];