Skip to content

Commit

Permalink
A variable was not actually used
Browse files Browse the repository at this point in the history
  • Loading branch information
maximmasiutin committed Apr 6, 2023
1 parent c935e41 commit dce97af
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions SRC/xBase.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3330,11 +3330,9 @@ destructor TFileFlusherThread.Destroy;


procedure TFileFlusherThread.Flush(ATime: DWORD);
var
b: BOOL;
begin
EnterCriticalSection(CS^);
b := FlushFileBuffers(FileHandle);
FlushFileBuffers(FileHandle);
LastFlushInitiatedTimestamp := ATime;
LeaveCriticalSection(CS^);
end;
Expand Down

0 comments on commit dce97af

Please sign in to comment.