mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-29 13:21:05 +00:00
Fix bogus coverity warnings.
This commit is contained in:
parent
b2714f83cc
commit
e81c0aef39
@ -25,6 +25,7 @@
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <cstdlib>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
@ -52,5 +53,10 @@ int main(int argc, char **argv) {
|
||||
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG);
|
||||
_CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
try {
|
||||
return RUN_ALL_TESTS();
|
||||
} catch (...) {
|
||||
// Catch all exceptions to make Coverity happy.
|
||||
}
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user