From 62f4ac7c2051617359c0c81a8601400aaf09cc22 Mon Sep 17 00:00:00 2001 From: Sam Morley <41870650+inakleinbottle@users.noreply.github.com> Date: Sun, 17 Nov 2024 14:44:18 +0000 Subject: [PATCH] Add missing return statement in main.cpp (#157) The function was missing a return statement, which could lead to undefined behavior. This change ensures the function returns the intended result consistently. --- testing/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/src/main.cpp b/testing/src/main.cpp index 3d7a72e9..cdb7e7ff 100644 --- a/testing/src/main.cpp +++ b/testing/src/main.cpp @@ -55,4 +55,5 @@ int main(int argc, char** argv) _CrtSetReportMode(_CRT_ERROR, error_mode); _CrtSetReportMode(_CRT_ASSERT, assert_mode); #endif + return result; } \ No newline at end of file