From aa33a8425ff5b5202ab8245846288fc13855823a Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 22 Mar 2017 17:19:30 -0700 Subject: Fix erroneous return statement --- toolsrc/include/vcpkg_Checks.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolsrc/include/vcpkg_Checks.h b/toolsrc/include/vcpkg_Checks.h index 336462e54..d75f25a6b 100644 --- a/toolsrc/include/vcpkg_Checks.h +++ b/toolsrc/include/vcpkg_Checks.h @@ -11,12 +11,12 @@ namespace vcpkg::Checks _declspec(noreturn) inline void exit_fail(const LineInfo& line_info) { - return exit_with_code(line_info, EXIT_FAILURE); + exit_with_code(line_info, EXIT_FAILURE); } _declspec(noreturn) inline void exit_success(const LineInfo& line_info) { - return exit_with_code(line_info, EXIT_SUCCESS); + exit_with_code(line_info, EXIT_SUCCESS); } // Part of the reason these exist is to not include extra headers in this one to avoid circular #includes. -- cgit v1.2.3