(svn r7656) -Fix: warning 'not all control path return value' generated by VC in debug mode (bridge_cmd.c:1038) custombridgeheads
authorKUDr
Sat, 30 Dec 2006 18:36:42 +0000
branchcustombridgeheads
changeset 5610 f67ca2533978
parent 5609 ec38986d2c8e
child 5611 11da6bafbfb9
(svn r7656) -Fix: warning 'not all control path return value' generated by VC in debug mode (bridge_cmd.c:1038)
stdafx.h
--- a/stdafx.h	Sat Dec 30 18:25:01 2006 +0000
+++ b/stdafx.h	Sat Dec 30 18:36:42 2006 +0000
@@ -114,7 +114,7 @@
 # define inline _inline
 # define CDECL _cdecl
 # if defined(_DEBUG)
-#  define NOT_REACHED() assert(0)
+#  define NOT_REACHED() {assert(0); _assume(0);}
 # else
 #  define NOT_REACHED() _assume(0)
 # endif /* _DEBUG */