warning C4702: unreachable code

Change-Id: I37863a76a051566ca97d8de5a5cfe35cf4dc5be0
This commit is contained in:
Stephan Bergmann 2012-07-23 18:58:47 +02:00
parent c7d590293e
commit 593580f2e5
2 changed files with 12 additions and 1 deletions

View file

@ -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=

View file

@ -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>