Re: QuantLib-dev Digest, Vol 42, Issue 18

Posted by Allen Kuo-2 on
URL: http://quantlib.414.s1.nabble.com/Re-QuantLib-dev-Digest-Vol-42-Issue-18-tp8891.html

Nando:
 
>
> warning C4100: 'redemption' : unreferenced formal
> parameter    c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\callablebonds\callablebond.cpp    32
>
 
redemption is used in the "CallableBond::arguments" member class, rather than directly in the class "CallableBond." (It is set in the arguments class via "Bond::redemption()").
 
Hence, can remove the parameter in the "CallableBond" class constructor, as it is not needed.
 
 
>
> warning C4100: 'paymentConvention' : unreferenced formal
> parameter    c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\callablebonds\callablebond.cpp    31
>
 
remove the parameter as it is not needed
 
>
> warning C4100: 'faceAmount' : unreferenced formal
> parameter    c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\callablebonds\callablebond.cpp    28
>
 
underlying "Bond" constructor has changed (where faceAmount was originally required). Hence, can now remove the parameter in the CallableBond constructor, as it is not needed.
Thanks,
Allen


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev