summaryrefslogtreecommitdiff
path: root/mdds
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-11 15:28:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-11 15:28:07 +0000
commitf52f0e72826a6a3320b48d29e4b7d3bf75de455d (patch)
treef7c1feabebda839b82a24ac4c18ba70f41060b28 /mdds
parentec2adc3f77ca3c0e4c2fc9a6e2c4ea3cc8bf1a1d (diff)
Resolves: mdds#7 unused variable
Diffstat (limited to 'mdds')
-rw-r--r--mdds/makefile.mk3
-rw-r--r--mdds/mdds7.unusedset.patch12
2 files changed, 14 insertions, 1 deletions
diff --git a/mdds/makefile.mk b/mdds/makefile.mk
index 3548c5db1494..6e905ba14691 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 000000000000..91f4802ff8d6
--- /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;