mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-10 10:49:22 +02:00
Add dummy function result after HandleError call inside fpc_sqr_real and fpc_trunc_real compilerproc to suppress warning
git-svn-id: trunk@31851 -
This commit is contained in:
parent
4c8cea1d1a
commit
57bff01715
@ -63,6 +63,8 @@ function fpc_sin_real(d : ValReal) : ValReal;compilerproc;{$ifdef MATHINLINE}inl
|
||||
function fpc_sqr_real(d : ValReal) : ValReal;compilerproc;{$ifdef MATHINLINE}inline;{$endif}
|
||||
begin
|
||||
HandleError(219);
|
||||
{ avoid warning }
|
||||
result:=0;
|
||||
end;
|
||||
|
||||
|
||||
@ -77,6 +79,8 @@ function fpc_sqrt_real(d : ValReal) : ValReal;compilerproc;
|
||||
function fpc_trunc_real(d : ValReal) : int64;compilerproc;
|
||||
begin
|
||||
HandleError(219);
|
||||
{ avoid warning }
|
||||
result:=0;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user