diff --git a/header/Defines.h b/header/Defines.h index 4a9a32f..89e9dae 100644 --- a/header/Defines.h +++ b/header/Defines.h @@ -46,7 +46,7 @@ inline void Message([[maybe_unused]] const char* format, ...) #endif } -inline void Info(const char* format, ...) +inline void Info([[maybe_unused]] const char* format, ...) { #ifdef _DEBUG const HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); @@ -58,7 +58,7 @@ inline void Info(const char* format, ...) #endif } -inline void Warning(const char* format, ...) +inline void Warning([[maybe_unused]] const char* format, ...) { #ifdef _DEBUG const HANDLE hConsole = GetStdHandle(STD_ERROR_HANDLE); diff --git a/modules/TextureFunction.ixx b/modules/TextureFunction.ixx index e569e79..32b2e66 100644 --- a/modules/TextureFunction.ixx +++ b/modules/TextureFunction.ixx @@ -365,7 +365,7 @@ export namespace TextureFunction { } } - DirectX::Blob ConvertToCompressedDDS(TexEntry& entry, const bool compress, const std::filesystem::path& dll_path) + DirectX::Blob ConvertToCompressedDDS(TexEntry& entry, const bool compress, [[maybe_unused]] const std::filesystem::path& dll_path) { DirectX::ScratchImage image; HRESULT hr = 0;