mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 04:30:10 +01:00
* fixed uninitialised var-parameters in isrecordconv
git-svn-id: branches/jvmbackend@18538 -
This commit is contained in:
parent
278a581666
commit
bdb6cf5561
@ -654,14 +654,21 @@ implementation
|
||||
function isrecordconv(var res: boolean): boolean;
|
||||
begin
|
||||
if is_record(realtodef) then
|
||||
result:=
|
||||
(realfromdef=java_jlobject) or
|
||||
(realfromdef=java_fpcbaserecordtype)
|
||||
begin
|
||||
result:=true;
|
||||
res:=
|
||||
(realfromdef=java_jlobject) or
|
||||
(realfromdef=java_fpcbaserecordtype);
|
||||
end
|
||||
else if is_record(realfromdef) then
|
||||
result:=
|
||||
(realtodef=java_jlobject) or
|
||||
(realtodef=java_fpcbaserecordtype)
|
||||
begin
|
||||
result:=true;
|
||||
res:=
|
||||
(realtodef=java_jlobject) or
|
||||
(realtodef=java_fpcbaserecordtype)
|
||||
end
|
||||
else
|
||||
result:=false;
|
||||
end;
|
||||
|
||||
function isstringconv(var res: boolean): boolean;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user