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

Stephan Bergmann sbergmann at kemper.freedesktop.org
Tue Jul 24 00:38:34 PDT 2012


 mdds/mdds_0.6.0-unreachable-code.patch |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

New commits:
commit f05a2ee6135b344142019e4becc55e9453dab668
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jul 24 09:38:16 2012 +0200

    More warning C4702: unreachable code
    
    Change-Id: I55930c0579f624cbd9d26ac21e41445ea6ae089b

diff --git a/mdds/mdds_0.6.0-unreachable-code.patch b/mdds/mdds_0.6.0-unreachable-code.patch
index 8bacd2e..6a9d833 100644
--- a/mdds/mdds_0.6.0-unreachable-code.patch
+++ b/mdds/mdds_0.6.0-unreachable-code.patch
@@ -8,3 +8,21 @@
  }
  
  template<typename _String, typename _Flag>
+--- misc/mdds_0.6.0/include/mdds/multi_type_vector_trait.hpp	2012-07-19 05:09:49.000000000 +0200
++++ misc/build/mdds_0.6.0/include/mdds/multi_type_vector_trait.hpp	2012-07-24 09:22:04.396955159 +0200
+@@ -95,7 +95,6 @@
+         default:
+             throw general_error("create_new_block: failed to create a new block of unknown type.");
+     }
+-    return NULL;
+ }
+ 
+ base_element_block* element_block_func_base::clone_block(const base_element_block& block)
+@@ -123,7 +122,6 @@
+         default:
+             throw general_error("clone_block: failed to clone a block of unknown type.");
+     }
+-    return NULL;
+ }
+ 
+ void element_block_func_base::delete_block(base_element_block* p)


More information about the Libreoffice-commits mailing list