View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031044 | FPC | Patch | public | 2016-12-01 03:01 | 2016-12-09 22:51 |
Reporter | silvioprog | Assigned To | Michael Van Canneyt | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 3.1.1 | Product Build | |||
Target Version | 3.2.0 | Fixed in Version | 3.1.1 | ||
Summary | 0031044: [PATCH] Remove unused variable in typinfo | ||||
Description | Hello, Patch in attachment. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 35062 | ||||
FPCOldBugId | |||||
FPCTarget | |||||
Attached Files |
|
|
0001-rtl-removes-unused-variable.-patch-by-Silvio-Clecio.patch (846 bytes)
From ae845b080936dd2be8a34de35afcc4da0decfa29 Mon Sep 17 00:00:00 2001 From: silvioprog <silvioprog@gmail.com> Date: Wed, 30 Nov 2016 22:53:07 -0300 Subject: [PATCH] rtl: removes unused variable. (patch by Silvio Clecio) --- rtl/objpas/typinfo.pp | 3 --- 1 file changed, 3 deletions(-) diff --git a/rtl/objpas/typinfo.pp b/rtl/objpas/typinfo.pp index e20fa32..c0550b8 100644 --- a/rtl/objpas/typinfo.pp +++ b/rtl/objpas/typinfo.pp @@ -1386,12 +1386,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))^); -- 2.7.4 |
|
Applied, thanks for the patch. |
|
Thanks! (y) |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-01 03:01 | silvioprog | New Issue | |
2016-12-01 03:01 | silvioprog | File Added: 0001-rtl-removes-unused-variable.-patch-by-Silvio-Clecio.patch | |
2016-12-01 08:22 | Michael Van Canneyt | Assigned To | => Michael Van Canneyt |
2016-12-01 08:22 | Michael Van Canneyt | Status | new => assigned |
2016-12-04 12:57 | Michael Van Canneyt | Fixed in Revision | => 35062 |
2016-12-04 12:57 | Michael Van Canneyt | Note Added: 0096499 | |
2016-12-04 12:57 | Michael Van Canneyt | Status | assigned => resolved |
2016-12-04 12:57 | Michael Van Canneyt | Fixed in Version | => 3.1.1 |
2016-12-04 12:57 | Michael Van Canneyt | Resolution | open => fixed |
2016-12-04 12:57 | Michael Van Canneyt | Target Version | => 3.2.0 |
2016-12-09 22:51 | silvioprog | Note Added: 0096632 | |
2016-12-09 22:51 | silvioprog | Status | resolved => closed |