Fixed unused-parameter warnings for VC++ warning level 4.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18458 8618b1d8-e22c-0410-b026-96a5dba3e089
Fixed uninitialized-variable warnings in VC++ warning level 4.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18459 8618b1d8-e22c-0410-b026-96a5dba3e089
Fixed unused-variable warnings in VC++ warning level 4.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18460 8618b1d8-e22c-0410-b026-96a5dba3e089
Add explicit static_cast to silence VC++ warning.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18461 8618b1d8-e22c-0410-b026-96a5dba3e089
Declared a few methods as inline to work around a VC++ bug.

See <http://stackoverflow.com/questions/3051992/compiler-warning-at-c-template-base-class>.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18462 8618b1d8-e22c-0410-b026-96a5dba3e089
Prevented uninitialized-variable warning.

Extracted if/else clause in Concentrating1dMesher constructor outside
the for loop and improved scope of variables so that c1 and c2 are
initialized at declaration time.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18463 8618b1d8-e22c-0410-b026-96a5dba3e089
Removed or commented out unreachable code.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18464 8618b1d8-e22c-0410-b026-96a5dba3e089
Avoided warnings for constant conditional expressions in VC++.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18465 8618b1d8-e22c-0410-b026-96a5dba3e089
Enforce static requirement at compile time.

Thanks to Michael Sharpe.

git-svn-id: https://quantlib.svn.sourceforge.net/svnroot/quantlib/trunk/QuantLib@18466 8618b1d8-e22c-0410-b026-96a5dba3e089