summaryrefslogtreecommitdiff
path: root/mdds/mdds_0.6.0-unreachable-code.patch
blob: 6a9d8331cd9fd4b42e316072ddcf73dbaec05c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- 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>
--- 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)