Parcourir la source

- removed superfluous check that could use uninitialized location

git-svn-id: branches/jvmbackend@18577 -
Jonas Maebe il y a 14 ans
Parent
commit
225e866800
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      compiler/hlcgobj.pas

+ 0 - 2
compiler/hlcgobj.pas

@@ -2339,8 +2339,6 @@ implementation
                          { open arrays do not contain correct element count in their rtti,
                            the actual count must be passed separately. }
                          eldef:=tarraydef(tparavarsym(p).vardef).elementdef;
-                         if not assigned(hsym) then
-                           internalerror(201003031);
                          g_array_rtti_helper(list,eldef,href,highloc,'FPC_ADDREF_ARRAY');
                        end
                      else