Skip to content

Commit

Permalink
Add missing return statement in main.cpp (#157)
Browse files Browse the repository at this point in the history
The function was missing a return statement, which could lead to undefined behavior. This change ensures the function returns the intended result consistently.
  • Loading branch information
inakleinbottle authored Nov 17, 2024
1 parent e2b9615 commit 62f4ac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testing/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ int main(int argc, char** argv)
_CrtSetReportMode(_CRT_ERROR, error_mode);
_CrtSetReportMode(_CRT_ASSERT, assert_mode);
#endif
return result;
}

0 comments on commit 62f4ac7

Please sign in to comment.