From 593580f2e5ce4f3c2d234b5ccb5a9371f5424e63 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 23 Jul 2012 18:58:47 +0200 Subject: [PATCH] warning C4702: unreachable code Change-Id: I37863a76a051566ca97d8de5a5cfe35cf4dc5be0 --- mdds/makefile.mk | 3 ++- mdds/mdds_0.6.0-unreachable-code.patch | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 mdds/mdds_0.6.0-unreachable-code.patch 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