Skip to content

Commit

Permalink
Reverting test change to assert
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed Jan 30, 2025
1 parent 7eb11b5 commit 734cf56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Fw/Types/Assert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
namespace Fw {

void defaultPrintAssert(const CHAR* msg) {
//Fw::Logger::log("%s", msg);
fprintf(stderr, "%s", msg);
Fw::Logger::log("%s", msg);

Check warning

Code scanning / CodeQL

Uses of recursion Warning

The function defaultPrintAssert is indirectly recursive via this call to
log
.

Check warning

Code scanning / CodeQL

Unchecked function argument Warning

This use of parameter msg has not been checked.
}

void defaultReportAssert(FILE_NAME_ARG file,
Expand Down

0 comments on commit 734cf56

Please sign in to comment.