MSVC: Add noreturn attribute to aiAssert and ValidateDSProcess::ReportError. This reduces warnings in VS2010's static code analysis tool. Thanks to Chris Maiwald for the patch.
Correct include order in assimp_view. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@539 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
// Set a breakpoint using win32, else line, file and message will be returned and progam ends with
|
||||
// errrocode = 1
|
||||
void Assimp::aiAssert (const std::string &message, unsigned int uiLine, const std::string &file)
|
||||
AI_WONT_RETURN void Assimp::aiAssert (const std::string &message, unsigned int uiLine, const std::string &file)
|
||||
{
|
||||
// moved expression testing out of the function and into the macro to avoid constructing
|
||||
// two std::string on every single ai_assert test
|
||||
|
||||
Reference in New Issue
Block a user