[Libreoffice-commits] core.git: boost/boost.wunused.patch

Tor Lillqvist tml at iki.fi
Wed Jun 5 22:31:37 PDT 2013


 boost/boost.wunused.patch |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 3e6853ae3e093b919ff3732e8fac05cb0a0fba51
Author: Tor Lillqvist <tml at iki.fi>
Date:   Thu Jun 6 08:31:00 2013 +0300

    WaE: unused variable
    
    Change-Id: I9252b78cc5ba3bdd2589b19f12a9e4dfb13bed2f

diff --git a/boost/boost.wunused.patch b/boost/boost.wunused.patch
index f305b4f..bd7ae92 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 @@


More information about the Libreoffice-commits mailing list