Disable unreachable code warning for TrickyTests.cpp

Somehow this only triggers for VS 2015, Win32 | Release configuration...
This commit is contained in:
Martin Hořeňovský 2017-05-08 01:26:06 +02:00
parent f82e312552
commit 85aa770701
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@
#pragma clang diagnostic ignored "-Wpadded"
#endif
#ifdef _MSC_VER
#pragma warning (disable : 4702) // Disable unreachable code warning for the last test
// that is triggered when compiling as Win32|Release
#endif
#include <stdio.h>
#include "catch.hpp"