From aae7a1338c3a2ee1e04b9fe2410256d0d86abf26 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 22 Sep 2020 14:00:41 -0700 Subject: [PATCH] Remove unused pragmas --- include/fmt/format-inl.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index 5f976ed0..23e75ce5 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -35,11 +35,6 @@ # include #endif -#ifdef _MSC_VER -# pragma warning(push) -# pragma warning(disable : 4702) // unreachable code -#endif - // Dummy implementations of strerror_r and strerror_s called if corresponding // system functions are not available. inline fmt::detail::null<> strerror_r(int, char*, ...) { return {}; } @@ -3077,8 +3072,4 @@ FMT_FUNC void vprint(string_view format_str, format_args args) { FMT_END_NAMESPACE -#ifdef _MSC_VER -# pragma warning(pop) -#endif - #endif // FMT_FORMAT_INL_H_