Browse Source

Removing forgotten dead code

Alligator-1 3 months ago
parent
commit
ad88310e5b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      rtl/inc/objpas.inc

+ 0 - 1
rtl/inc/objpas.inc

@@ -439,7 +439,6 @@ end;
 {$endif def FPC_HAS_FEATURE_RTTI}
 {$endif def FPC_HAS_FEATURE_RTTI}
            i : longint;
            i : longint;
         begin
         begin
-           I:=instancesize;
            { the size is saved at offset 0 }
            { the size is saved at offset 0 }
            fillchar(instance^, InstanceSize, 0);
            fillchar(instance^, InstanceSize, 0);
            { insert VMT pointer into the new created memory area }
            { insert VMT pointer into the new created memory area }