summaryrefslogtreecommitdiff
path: root/mdds/mdds_0.7.0_unreachable_warning.patch.1
blob: 35819ae5c42d74b6cca72cf402abe619012939c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ru mdds.old/include/mdds/multi_type_vector_def.inl mdds/include/mdds/multi_type_vector_def.inl
--- mdds.old/include/mdds/multi_type_vector_def.inl	2013-03-12 21:18:16.340506918 +0100
+++ mdds/include/mdds/multi_type_vector_def.inl	2013-03-14 17:56:07.275475086 +0100
@@ -652,7 +652,9 @@
             }
         }
 
+#ifndef _MSC_VER // MSVC is too smart and warns about unreachable code
         assert(!"this code path should never be reached!");
+#endif
     }
 
     // This empty block is right below a non-empty block.