|
Boost-Commit : |
From: eric_at_[hidden]
Date: 2008-03-06 13:07:23
Author: eric_niebler
Date: 2008-03-06 13:07:22 EST (Thu, 06 Mar 2008)
New Revision: 43531
URL: http://svn.boost.org/trac/boost/changeset/43531
Log:
fix warnings
Text files modified:
trunk/boost/foreach.hpp | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
Modified: trunk/boost/foreach.hpp
==============================================================================
--- trunk/boost/foreach.hpp (original)
+++ trunk/boost/foreach.hpp 2008-03-06 13:07:22 EST (Thu, 06 Mar 2008)
@@ -411,7 +411,11 @@
///////////////////////////////////////////////////////////////////////////////
// set_false
//
-inline bool set_false(bool &b) { return b = false; }
+inline bool set_false(bool &b)
+{
+ b = false;
+ return false;
+}
///////////////////////////////////////////////////////////////////////////////
// to_ptr
@@ -471,7 +475,7 @@
};
template<typename T>
-rvalue_probe<T> const make_probe(T const &t)
+rvalue_probe<T> const make_probe(T const &)
{
return rvalue_probe<T>();
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk