From 1542134438b20e2f0291edf0769bf2639580020a Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 27 Nov 2016 15:26:38 -0500 Subject: Add BOTAN_UNUSED when relevant OS support is missing --- src/lib/utils/filesystem.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/utils/filesystem.cpp') diff --git a/src/lib/utils/filesystem.cpp b/src/lib/utils/filesystem.cpp index c67668288..36e1f5446 100644 --- a/src/lib/utils/filesystem.cpp +++ b/src/lib/utils/filesystem.cpp @@ -118,6 +118,7 @@ std::vector get_files_recursive(const std::string& dir) #elif defined(BOTAN_TARGET_OS_HAS_READDIR) files = impl_readdir(dir); #else + BOTAN_UNUSED(dir); throw No_Filesystem_Access(); #endif -- cgit v1.2.3