Skip to content

Commit

Permalink
fix release build (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick authored Nov 10, 2024
1 parent 175002a commit 485ecd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions header/Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion modules/TextureFunction.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 485ecd1

Please sign in to comment.