aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-22 17:19:30 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-22 17:19:30 -0700
commitaa33a8425ff5b5202ab8245846288fc13855823a (patch)
treecd17581edb4e8cc4b19e2d2f89b8485ed926a486 /toolsrc/include
parent004e46d982e8822c356763106e579e5b5e9553f2 (diff)
downloadvcpkg-aa33a8425ff5b5202ab8245846288fc13855823a.tar.gz
vcpkg-aa33a8425ff5b5202ab8245846288fc13855823a.zip
Fix erroneous return statement
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Checks.h4
1 files 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.