Procházet zdrojové kódy

* Remove superfluous initialization of local variable. Fixes issue #40917

Michaël Van Canneyt před 1 rokem
rodič
revize
aec11012e8
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      rtl/objpas/classes/classes.inc

+ 0 - 1
rtl/objpas/classes/classes.inc

@@ -1565,7 +1565,6 @@ function InitInheritedComponent(Instance: TComponent; RootAncestor: TClass): Boo
 Var
   I : Integer;
 begin
-  I:=0;
   if not Assigned(InitHandlerList) then begin
     Result := True;
     Exit;