summaryrefslogtreecommitdiff
path: root/mdds
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-23 09:36:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-07-23 09:36:11 +0200
commitf86d51e1bc15e46090a59cfa10b71055ceccd381 (patch)
tree26fb5bcb13ee9a0314e08e2b1a98f3d5db37492f /mdds
parenta9e58e29f65df820d133022c5cb15387075d6b37 (diff)
-Werror,-Wunused-parameter (Clang 3.1)
Change-Id: Id384aeda51bcbba9aefdb242db386a30ae991c30
Diffstat (limited to 'mdds')
-rw-r--r--mdds/makefile.mk2
-rw-r--r--mdds/mdds_0.6.0-unused-parameter.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/mdds/makefile.mk b/mdds/makefile.mk
index 53a04195e0fc..5adc83d6134c 100644
--- a/mdds/makefile.mk
+++ b/mdds/makefile.mk
@@ -32,7 +32,7 @@ TARFILE_MD5=3e89a35f253a4f1c7de68c57d851ef38
PATCH_FILES=\
mdds_0.6.0.patch \
0001-help-compiler-select-the-right-overload-of-vector-in.patch \
-
+ mdds_0.6.0-unused-parameter.patch
CONFIGURE_DIR=
CONFIGURE_ACTION=
diff --git a/mdds/mdds_0.6.0-unused-parameter.patch b/mdds/mdds_0.6.0-unused-parameter.patch
new file mode 100644
index 000000000000..6abc69e2eac9
--- /dev/null
+++ b/mdds/mdds_0.6.0-unused-parameter.patch
@@ -0,0 +1,11 @@
+--- misc/mdds_0.6.0/include/mdds/multi_type_vector_types.hpp 2012-07-19 05:09:49.000000000 +0200
++++ misc/build/mdds_0.6.0/include/mdds/multi_type_vector_types.hpp 2012-07-23 09:31:51.636388620 +0200
+@@ -302,7 +302,7 @@
+ noncopyable_element_block(size_t n, const _Data& val) : base_type(n, val) {}
+
+ public:
+- static _Self* clone_block(const base_element_block& blk)
++ static _Self* clone_block(const base_element_block&)
+ {
+ throw element_block_error("attempted to clone a noncopyable element block.");
+ }