Coverity issues:

129727: Structurally dead code
151979, 133461: Uninitialized scalar field
129785, 129786, 129787: Use after free
This commit is contained in:
wmayer
2016-08-16 12:23:12 +02:00
parent bdd86eea7d
commit eb0647b144
4 changed files with 5 additions and 3 deletions

View File

@@ -1012,9 +1012,9 @@ void unexpection_error_handler()
// try to throw an exception and give the user chance to save their work
#if !defined(_DEBUG)
throw Base::Exception("Unexpected error occurred! Please save your work under a new file name and restart the application!");
#endif
#else
terminate();
#endif
}
#ifdef _MSC_VER // Microsoft compiler