aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/utils/filesystem.cpp1
-rw-r--r--src/lib/utils/os_utils.cpp1
2 files changed, 2 insertions, 0 deletions
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<std::string> 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
diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp
index f40426613..1e60596ba 100644
--- a/src/lib/utils/os_utils.cpp
+++ b/src/lib/utils/os_utils.cpp
@@ -273,6 +273,7 @@ void* allocate_locked_pages(size_t length)
return ptr;
#else
+ BOTAN_UNUSED(length);
return nullptr; /* not implemented */
#endif
}