fix release build (#31)

This commit is contained in:
DubbleClick
2024-11-10 23:09:22 +07:00
committed by GitHub
parent 175002a9e4
commit 485ecd1341
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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);
+1 -1
View File
@@ -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;