From 8c5ba5084090ff7d709aee1a422e32076a9cba72 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max.kellermann@gmail.com>
Date: Mon, 6 Mar 2023 16:32:49 +0100
Subject: [PATCH] command/{file,storage}: remove stray "#pragma GCC diagnostic
 pop"

---
 src/command/FileCommands.cxx    | 4 ----
 src/command/StorageCommands.cxx | 4 ----
 2 files changed, 8 deletions(-)

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)
 {