[Libreoffice-commits] .: mdds/makefile.mk mdds/mdds_0.6.0-unused-parameter.patch

Stephan Bergmann sbergmann at kemper.freedesktop.org
Mon Jul 23 00:36:30 PDT 2012


 mdds/makefile.mk                       |    2 +-
 mdds/mdds_0.6.0-unused-parameter.patch |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

New commits:
commit f86d51e1bc15e46090a59cfa10b71055ceccd381
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 23 09:36:11 2012 +0200

    -Werror,-Wunused-parameter (Clang 3.1)
    
    Change-Id: Id384aeda51bcbba9aefdb242db386a30ae991c30

diff --git a/mdds/makefile.mk b/mdds/makefile.mk
index 53a0419..5adc83d 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 0000000..6abc69e
--- /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.");
+     }


More information about the Libreoffice-commits mailing list