[Libreoffice-commits] .: mdds/makefile.mk mdds/mdds_0.6.0-unreachable-code.patch

Stephan Bergmann sbergmann at kemper.freedesktop.org
Mon Jul 23 10:01:00 PDT 2012


 mdds/makefile.mk                       |    3 ++-
 mdds/mdds_0.6.0-unreachable-code.patch |   10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

New commits:
commit 593580f2e5ce4f3c2d234b5ccb5a9371f5424e63
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 23 18:58:47 2012 +0200

    warning C4702: unreachable code
    
    Change-Id: I37863a76a051566ca97d8de5a5cfe35cf4dc5be0

diff --git a/mdds/makefile.mk b/mdds/makefile.mk
index 5adc83d..e922b92 100644
--- a/mdds/makefile.mk
+++ b/mdds/makefile.mk
@@ -32,7 +32,8 @@ 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
+            mdds_0.6.0-unused-parameter.patch \
+            mdds_0.6.0-unreachable-code.patch
 
 CONFIGURE_DIR=
 CONFIGURE_ACTION=
diff --git a/mdds/mdds_0.6.0-unreachable-code.patch b/mdds/mdds_0.6.0-unreachable-code.patch
new file mode 100644
index 0000000..8bacd2e
--- /dev/null
+++ b/mdds/mdds_0.6.0-unreachable-code.patch
@@ -0,0 +1,10 @@
+--- misc/mdds_0.6.0/include/mdds/mixed_type_matrix_def.inl	2012-07-23 16:20:34.101608964 +0200
++++ misc/build/mdds_0.6.0/include/mdds/mixed_type_matrix_def.inl	2012-07-23 16:19:13.022858991 +0200
+@@ -44,7 +44,6 @@
+         default:
+             throw matrix_error("unknown density type");
+     }
+-    return NULL;
+ }
+ 
+ template<typename _String, typename _Flag>


More information about the Libreoffice-commits mailing list