diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-06-06 08:31:00 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-06-06 08:31:13 +0300 |
commit | 3e6853ae3e093b919ff3732e8fac05cb0a0fba51 (patch) | |
tree | d670a9ad1c24cbd73d812766c1b85c3e2ee53e8a /boost | |
parent | 60c8198fd98ebbcabcfd316203886d3e0b7317c7 (diff) |
WaE: unused variable
Change-Id: I9252b78cc5ba3bdd2589b19f12a9e4dfb13bed2f
Diffstat (limited to 'boost')
-rw-r--r-- | boost/boost.wunused.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/boost.wunused.patch b/boost/boost.wunused.patch index f305b4f2d0e0..bd7ae92c7b6d 100644 --- a/boost/boost.wunused.patch +++ b/boost/boost.wunused.patch @@ -8,6 +8,16 @@ return false; #else // BOOST_HAS_FPCLASSIFY return (BOOST_FPCLASSIFY_PREFIX fpclassify(t) == (int)FP_NAN); +--- foo/foo/foo/boost/multi_array/base.hpp ++++ foo/foo/foo/boost/multi_array/base.hpp +@@ -501,6 +501,7 @@ + // the "far side" of the range (the top if stride is positive, the bottom + // if stride is negative). + index bound_adjustment = stride < 0 ? 1 : 0; ++ (void) bound_adjustment; + BOOST_ASSERT(((index_bases[n] - bound_adjustment) <= finish) && + (finish <= (index_bases[n] + index(extents[n]) - bound_adjustment))); + #endif // BOOST_DISABLE_ASSERTS --- foo/foo/foo/boost/unordered/detail/table.hpp +++ foo/foo/foo/boost/unordered/detail/table.hpp @@ -458,6 +458,7 @@ |