[Libreoffice-commits] .: mdds/makefile.mk mdds/mdds7.unusedset.patch

Caolán McNamara caolan at kemper.freedesktop.org
Fri Feb 11 08:28:50 PST 2011


 mdds/makefile.mk           |    3 ++-
 mdds/mdds7.unusedset.patch |   12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

New commits:
commit 7285fb4870db106f95cd7df51c06c917de7e6dac
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Feb 11 15:28:07 2011 +0000

    Resolves: mdds#7 unused variable

diff --git a/mdds/makefile.mk b/mdds/makefile.mk
index 3548c5d..6e905ba 100644
--- a/mdds/makefile.mk
+++ b/mdds/makefile.mk
@@ -38,7 +38,8 @@ TARGET=mdds
 
 TARFILE_NAME=mdds_0.5.1
 TARFILE_MD5=5d991377b0ee1ae396c82963bc0084c1
-PATCH_FILES=
+#http://code.google.com/p/multidimalgorithm/issues/detail?id=7
+PATCH_FILES=mdds7.unusedset.patch
 
 CONFIGURE_DIR=
 CONFIGURE_ACTION=
diff --git a/mdds/mdds7.unusedset.patch b/mdds/mdds7.unusedset.patch
new file mode 100644
index 0000000..91f4802
--- /dev/null
+++ b/mdds/mdds7.unusedset.patch
@@ -0,0 +1,12 @@
+--- misc/mdds_0.5.1/include/mdds/mixed_type_matrix_flag_storage.hpp	2011-02-11 15:10:29.374529418 +0000
++++ misc/build/mdds_0.5.1/include/mdds/mixed_type_matrix_flag_storage.hpp	2011-02-11 15:10:47.517729200 +0000
+@@ -53,8 +53,7 @@
+         if (itr == m_flags.end())
+         {
+             // flag not stored for this position.
+-            ::std::pair<typename flag_store_type::iterator, bool> r = 
+-                m_flags.insert(typename flag_store_type::value_type(pos, flag));
++            m_flags.insert(typename flag_store_type::value_type(pos, flag));
+             return;
+         }
+         itr->second = flag;


More information about the Libreoffice-commits mailing list