system/VmaName: suppress -Wunused-parameter

This commit is contained in:
Max Kellermann 2022-05-19 14:01:32 +02:00
parent bb7be9a4cd
commit 23dd613ff9
1 changed files with 4 additions and 0 deletions

View File

@ -55,5 +55,9 @@ SetVmaName(const void *start, size_t len, const char *name)
#ifdef __linux__
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, (unsigned long)start, len,
(unsigned long)name);
#else
(void)start;
(void)len;
(void)name;
#endif
}