diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx index e98104af7..c29028e9b 100644 --- a/src/command/FileCommands.cxx +++ b/src/command/FileCommands.cxx @@ -83,10 +83,6 @@ handle_listfiles_local(Response &r, Path path_fs) return CommandResult::OK; } -#if defined(_WIN32) && GCC_CHECK_VERSION(4,6) -#pragma GCC diagnostic pop -#endif - [[gnu::pure]] static bool IsValidName(const std::string_view s) noexcept diff --git a/src/command/StorageCommands.cxx b/src/command/StorageCommands.cxx index 644268794..239048f99 100644 --- a/src/command/StorageCommands.cxx +++ b/src/command/StorageCommands.cxx @@ -66,10 +66,6 @@ handle_listfiles_storage(Response &r, StorageDirectoryReader &reader) } } -#if defined(_WIN32) && GCC_CHECK_VERSION(4,6) -#pragma GCC diagnostic pop -#endif - CommandResult handle_listfiles_storage(Response &r, Storage &storage, const char *uri) {