summaryrefslogtreecommitdiff
path: root/odrefresh/odr_fs_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'odrefresh/odr_fs_utils.cc')
-rw-r--r--odrefresh/odr_fs_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/odrefresh/odr_fs_utils.cc b/odrefresh/odr_fs_utils.cc
index 3ed8021037..2a77e52a6d 100644
--- a/odrefresh/odr_fs_utils.cc
+++ b/odrefresh/odr_fs_utils.cc
@@ -43,7 +43,7 @@ namespace odrefresh {
// Callback for use with nftw(3) to assist with clearing files and sub-directories.
// This method removes files and directories below the top-level directory passed to nftw().
static int NftwCleanUpCallback(const char* fpath,
- const struct stat* sb ATTRIBUTE_UNUSED,
+ [[maybe_unused]] const struct stat* sb,
int typeflag,
struct FTW* ftwbuf) {
switch (typeflag) {