diff options
-rw-r--r-- | mdds/makefile.mk | 3 | ||||
-rw-r--r-- | mdds/mdds_0.6.0-unreachable-code.patch | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/mdds/makefile.mk b/mdds/makefile.mk index 5adc83d6134c..e922b92b3099 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 000000000000..8bacd2e5d6eb --- /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> |