diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-24 09:38:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-24 09:38:16 +0200 |
commit | f05a2ee6135b344142019e4becc55e9453dab668 (patch) | |
tree | 1cf8677431e2183c880700d7a1a9f97993682cce | |
parent | c55a4639d27957ee96c59269d894d169fa2b7b34 (diff) |
More warning C4702: unreachable code
Change-Id: I55930c0579f624cbd9d26ac21e41445ea6ae089b
-rw-r--r-- | mdds/mdds_0.6.0-unreachable-code.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mdds/mdds_0.6.0-unreachable-code.patch b/mdds/mdds_0.6.0-unreachable-code.patch index 8bacd2e5d6eb..6a9d8331cd9f 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) |