Remove redundant check of FStatus

This commit is contained in:
ccrause 2021-07-19 21:52:12 +02:00
parent c0f05c8dc6
commit 68d50adedf

View File

@ -924,13 +924,8 @@ begin
end;
until FStatus <> 0;
if FStatus <> 0 then
begin
if FStatus in [SIGINT, SIGTRAP] then
begin
RestoreTempBreakInstructionCodes;
end;
end;
if FStatus in [SIGINT, SIGTRAP] then
RestoreTempBreakInstructionCodes;
result := FStatus <> 0;
end;