mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 11:28:07 +02:00
* Patch from Silvio Clecio to remove unused variable (bug ID 31044)
git-svn-id: trunk@35062 -
This commit is contained in:
parent
f55d962e40
commit
0d772ae198
@ -1388,12 +1388,9 @@ type
|
|||||||
TGetInterfaceProc=function:IInterface of object;
|
TGetInterfaceProc=function:IInterface of object;
|
||||||
TGetInterfaceProcIndex=function(index:longint):IInterface of object;
|
TGetInterfaceProcIndex=function(index:longint):IInterface of object;
|
||||||
var
|
var
|
||||||
TypeInfo: PTypeInfo;
|
|
||||||
AMethod : TMethod;
|
AMethod : TMethod;
|
||||||
begin
|
begin
|
||||||
Result:=nil;
|
Result:=nil;
|
||||||
|
|
||||||
TypeInfo := PropInfo^.PropType;
|
|
||||||
case (PropInfo^.PropProcs) and 3 of
|
case (PropInfo^.PropProcs) and 3 of
|
||||||
ptField:
|
ptField:
|
||||||
Result:=IInterface(PPointer(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^);
|
Result:=IInterface(PPointer(Pointer(Instance)+PtrUInt(PropInfo^.GetProc))^);
|
||||||
|
Loading…
Reference in New Issue
Block a user