$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r57509 - trunk/boost/math/special_functions
From: john_at_[hidden]
Date: 2009-11-09 07:26:03
Author: johnmaddock
Date: 2009-11-09 07:26:02 EST (Mon, 09 Nov 2009)
New Revision: 57509
URL: http://svn.boost.org/trac/boost/changeset/57509
Log:
Suppress unused parameter warning.
Text files modified: 
   trunk/boost/math/special_functions/fpclassify.hpp |     1 +                                       
   1 files changed, 1 insertions(+), 0 deletions(-)
Modified: trunk/boost/math/special_functions/fpclassify.hpp
==============================================================================
--- trunk/boost/math/special_functions/fpclassify.hpp	(original)
+++ trunk/boost/math/special_functions/fpclassify.hpp	2009-11-09 07:26:02 EST (Mon, 09 Nov 2009)
@@ -390,6 +390,7 @@
     template<class T> 
     inline bool isinf_impl(T x, generic_tag<true> const&)
     {
+        (void)x; // in case the compiler thinks that x is unused because std::numeric_limits<T>::has_infinity is false
         return std::numeric_limits<T>::has_infinity 
             && ( x == std::numeric_limits<T>::infinity()
                  || x == -std::numeric_limits<T>::infinity());