On Tue, 17 Feb 2015 16:54:59 +0100 Werner Pamler <[email protected]> wrote:
> This compiler message looks strange to me: "tatextelements.pas(177,24) > Hint: Value parameter "AValue" is assigned but never used". It occurs > when TAChart is recompiled (see bug report #0027484). Here is the > corresponding code: > > procedure TGenericChartMarks.SetFrame(AValue: _TFramePen); > begin > if FFrame = AValue then exit; > FFrame.Assign(AValue); > StyleChanged(Self); > end; > > I would say that the parameter "AValue" *is* used. So, what is this hint > for? This is a generic class. The compiler does not know at this point what _TFramePen is. The hint sounds like a compiler bug. Please report to FPC. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
