From fcb5aa77fb3f9dea330139ebf01cb6cb99c62e76 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sat, 27 Jul 2024 09:43:16 +0900 Subject: [PATCH] Fix minor issues when compiling with MSYS (#2505) References #2503. --- src/fdcache_entity.cpp | 1 + src/s3fs.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fdcache_entity.cpp b/src/fdcache_entity.cpp index ece2bf2..6d522c0 100644 --- a/src/fdcache_entity.cpp +++ b/src/fdcache_entity.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/src/s3fs.cpp b/src/s3fs.cpp index a973ba2..1503a46 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -149,7 +149,7 @@ static int set_bucket(const char* arg); static int my_fuse_opt_proc(void* data, const char* arg, int key, struct fuse_args* outargs); static fsblkcnt_t parse_bucket_size(char* value); static bool is_cmd_exists(const std::string& command); -static int print_umount_message(const std::string& mp, bool force); +static int print_umount_message(const std::string& mp, bool force) __attribute__ ((unused)); //------------------------------------------------------------------- // fuse interface functions