Disable warnings about unused functions.

Clang triggers -Wunused-function for get_dir_itr_imp_extra_data, which
may or may not be used depending on the target platform. Better to disable
the warning rather than add macro checks.
This commit is contained in:
Andrey Semashev
2022-07-17 03:26:56 +03:00
parent 0601c887b7
commit fd3af54208

View File

@@ -37,6 +37,8 @@
#pragma GCC diagnostic push
// unused parameter 'arg'
#pragma GCC diagnostic ignored "-Wunused-parameter"
// unused function 'foo'
#pragma GCC diagnostic ignored "-Wunused-function"
#endif