Jelajahi Sumber

* Patch from Silvio Clecio to remove unused variable (bug ID 31044)

git-svn-id: trunk@35062 -
michael 8 tahun lalu
induk
melakukan
0d772ae198
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  1. 0 3
      rtl/objpas/typinfo.pp

+ 0 - 3
rtl/objpas/typinfo.pp

@@ -1388,12 +1388,9 @@ type
   TGetInterfaceProc=function:IInterface of object;
   TGetInterfaceProcIndex=function(index:longint):IInterface of object;
 var
-  TypeInfo: PTypeInfo;
   AMethod : TMethod;
 begin
   Result:=nil;
-
-  TypeInfo := PropInfo^.PropType;
   case (PropInfo^.PropProcs) and 3 of
     ptField:
       Result:=IInterface(PPointer(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^);