diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-23 18:58:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-23 19:00:00 +0200 |
commit | 593580f2e5ce4f3c2d234b5ccb5a9371f5424e63 (patch) | |
tree | 6563902c588dd2ffd843d24f60be33e1e0e85fa4 /mdds | |
parent | c7d590293eae63bcd86bf48f58b3d563b8883511 (diff) |
warning C4702: unreachable code
Change-Id: I37863a76a051566ca97d8de5a5cfe35cf4dc5be0
Diffstat (limited to 'mdds')
-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> |