From 7b5208b6d18b6251a566ef09497532d68890f1b8 Mon Sep 17 00:00:00 2001 From: Johannes Schmitt Date: Fri, 19 Feb 2021 07:32:51 +0100 Subject: [PATCH] remove unreachable code --- include/spdlog/details/os-inl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/spdlog/details/os-inl.h b/include/spdlog/details/os-inl.h index a701e13f..33f15435 100644 --- a/include/spdlog/details/os-inl.h +++ b/include/spdlog/details/os-inl.h @@ -246,7 +246,6 @@ SPDLOG_INLINE size_t filesize(FILE *f) #endif #endif throw_spdlog_ex("Failed getting file size from fd", errno); - return 0; // will not be reached. } // Return utc offset in minutes or throw spdlog_ex on failure