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