summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-27 23:09:59 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-28 09:16:13 +0300
commitda1dea9ae24fd4b17c54646f158c617a098291aa (patch)
tree0a8dc285516799d71aa34a9a31ec551cbaa6a13d /boost
parentb2a50c70072d55d0055d41e6862138a6a06cb08d (diff)
WaE: unused parameter 't'
Change-Id: I5bfb2e2c44e11a03278a4a127396dcb2861c63b8
Diffstat (limited to 'boost')
-rw-r--r--boost/boost.wunused.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/boost/boost.wunused.patch b/boost/boost.wunused.patch
index 89abb5372ec4..f305b4f2d0e0 100644
--- a/boost/boost.wunused.patch
+++ b/boost/boost.wunused.patch
@@ -1,3 +1,13 @@
+--- foo/foo/foo/boost/math/special_functions/fpclassify.hpp
++++ foo/foo/foo/boost/math/special_functions/fpclassify.hpp
+@@ -100,6 +100,7 @@
+ #ifdef isnan
+ return isnan(t);
+ #elif defined(BOOST_MATH_DISABLE_STD_FPCLASSIFY) || !defined(BOOST_HAS_FPCLASSIFY)
++ (void) t;
+ return false;
+ #else // BOOST_HAS_FPCLASSIFY
+ return (BOOST_FPCLASSIFY_PREFIX fpclassify(t) == (int)FP_NAN);
--- foo/foo/foo/boost/unordered/detail/table.hpp
+++ foo/foo/foo/boost/unordered/detail/table.hpp
@@ -458,6 +458,7 @@
@@ -8,4 +18,3 @@
BOOST_ASSERT(node_alloc() == other.node_alloc());
}
-