Login  Register

Re: unreferenced formal parameter in credit code

Posted by Roland Lichters-2 on Dec 02, 2009; 4:21pm
URL: http://quantlib.414.s1.nabble.com/unreferenced-formal-parameter-in-credit-code-tp13284p13285.html

warning C4100: 'i' : unreferenced formal
parameter       c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\credit\onefactorcopula.hpp  264
I'd like to keep the parameter to allow varying grid size for the copula integration in the future.
 
warning C4100: 'stepSize' : unreferenced formal
parameter       c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\credit\syntheticcdoengines.hpp      84
Removed the parameter.
 
warning C4100: 'floatDayCount' : unreferenced formal
parameter       c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\credit\riskyassetswap.cpp   192
warning C4100: 'floatConvention' : unreferenced formal
parameter       c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\credit\riskyassetswap.cpp   191
Fixed two bugs here, now using the parameters, thanks!
 
warning C4100: 'date' : unreferenced formal
parameter       c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\credit\riskybond.cpp        76
Removed the parameter.
 
warning C4100: 'd' : unreferenced formal
parameter       c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\credit\syntheticcdoengines.hpp      164
Kept the parameter (due to inheritance)
 
warning C4100: 'buckets' : unreferenced formal
parameter       c:\Projects\QuantLib\trunk\QuantLib\ql\experimental\credit\distribution.cpp     280
Removed the parameter. 

I have committed the changes to the trunk.

Regards,
Roland
 

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev