mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Enable -Wunused-function warning
This commit is contained in:
parent
4c1026436f
commit
8e6e57de86
14 changed files with 18 additions and 94 deletions
|
|
@ -40,11 +40,11 @@ namespace utils
|
|||
#endif
|
||||
|
||||
#ifdef MADV_FREE
|
||||
constexpr int c_madv_free = MADV_FREE;
|
||||
[[maybe_unused]] constexpr int c_madv_free = MADV_FREE;
|
||||
#elif defined(MADV_DONTNEED)
|
||||
constexpr int c_madv_free = MADV_DONTNEED;
|
||||
[[maybe_unused]] constexpr int c_madv_free = MADV_DONTNEED;
|
||||
#else
|
||||
constexpr int c_madv_free = 0;
|
||||
[[maybe_unused]] constexpr int c_madv_free = 0;
|
||||
#endif
|
||||
|
||||
#ifdef MADV_HUGEPAGE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue