Skip to content

Commit

Permalink
Cast to void in AccessBridgeCalls.c
Browse files Browse the repository at this point in the history
  • Loading branch information
TheShermanTanker authored Jan 7, 2025
1 parent 5bdae8b commit c9b63c2
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,18 +220,17 @@ extern "C" {


BOOL shutdownAccessBridge() {
// BOOL result;
// DWORD error;
BOOL result;
DWORD error;
theAccessBridgeInitializedFlag = FALSE;
if (theAccessBridgeInstance != (HANDLE) 0) {
/* result = */ FreeLibrary(theAccessBridgeInstance);
/*
result = FreeLibrary(theAccessBridgeInstance);
if (result != TRUE) {
error = GetLastError();
}
*/
return TRUE;
}
((void) error);
return FALSE;
}

Expand Down

0 comments on commit c9b63c2

Please sign in to comment.