mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-05 19:38:36 +02:00
* don't warn about uninitialised open array out parameters when
only getting their length git-svn-id: trunk@6904 -
This commit is contained in:
parent
2b2b8c4f4f
commit
2f12e94947
@ -1701,7 +1701,8 @@ implementation
|
||||
in_length_x:
|
||||
begin
|
||||
if ((left.resultdef.typ=arraydef) and
|
||||
not is_special_array(left.resultdef)) or
|
||||
(not is_special_array(left.resultdef) or
|
||||
is_open_array(left.resultdef))) or
|
||||
(left.resultdef.typ=orddef) then
|
||||
set_varstate(left,vs_read,[])
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user