Skip to content

Commit

Permalink
Fixed unreachable code (warning by fpc)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneHSZ authored and ReneHSZ committed Oct 7, 2017
1 parent 96e9051 commit 52c0012
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fpc_tcmalloc.pas
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
begin
if Size <= 0 then
begin
if Size < 0 then
runerror(204);
exit;
if Size = 0 then
exit;
runerror(204);
end;

if P <> nil then
Expand Down

0 comments on commit 52c0012

Please sign in to comment.