summaryrefslogtreecommitdiff
path: root/boost/boost.wunused.patch
blob: f305b4f2d0e084efdbb321894a54438edc169a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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 @@
             // According to 23.2.1.8, if propagate_on_container_swap is
             // false the behaviour is undefined unless the allocators
             // are equal.
+            (void) other;
             BOOST_ASSERT(node_alloc() == other.node_alloc());
         }