Skip to content

Commit

Permalink
Fix AccessBridgeCalls.c
Browse files Browse the repository at this point in the history
  • Loading branch information
TheShermanTanker authored Jan 23, 2025
1 parent f975dfa commit 6f9d1b3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,12 @@ extern "C" {
theAccessBridgeInitializedFlag = FALSE;
if (theAccessBridgeInstance != (HANDLE) 0) {
result = FreeLibrary(theAccessBridgeInstance);
if (result != TRUE) {
if (result == 0) {
error = GetLastError();
}
return TRUE;
return result == 0 ? TRUE : FALSE;
}
((void) error);
((void) error); // Temporary useless code to mark error as being flagged by the compiler
return FALSE;
}

Expand Down

0 comments on commit 6f9d1b3

Please sign in to comment.