|
From: Allen K. <all...@ya...> - 2009-11-29 08:43:45
|
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
|