diff options
| author | Phil Nash | 2017-07-13 10:10:39 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-07-13 10:10:39 +0100 |
| commit | cf6f9e32535285448cdb668e95a5ea10bc0f3a4b (patch) | |
| tree | 29b357590b6a790d8965a34756b7786d4fde6b58 /include | |
| parent | f193698fb3ff9d2471e43f672695a9d00ac04608 (diff) | |
| download | catch3-cf6f9e32535285448cdb668e95a5ea10bc0f3a4b.tar.gz | |
Initialise unexpectedExceptions in JUnitReporter
Diffstat (limited to 'include')
| -rw-r--r-- | include/reporters/catch_reporter_junit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reporters/catch_reporter_junit.cpp b/include/reporters/catch_reporter_junit.cpp index 787de016..49d913bf 100644 --- a/include/reporters/catch_reporter_junit.cpp +++ b/include/reporters/catch_reporter_junit.cpp @@ -242,7 +242,7 @@ namespace Catch { Timer suiteTimer; std::ostringstream stdOutForSuite; std::ostringstream stdErrForSuite; - unsigned int unexpectedExceptions; + unsigned int unexpectedExceptions = 0; bool m_okToFail = false; }; |