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:
pierre 2015-09-27 16:47:24 +00:00
parent 4c8cea1d1a
commit 57bff01715

View File

@ -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;