Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2017-07-13 10:10:39 +0100
committerPhil Nash2017-07-13 10:10:39 +0100
commitcf6f9e32535285448cdb668e95a5ea10bc0f3a4b (patch)
tree29b357590b6a790d8965a34756b7786d4fde6b58 /include
parentf193698fb3ff9d2471e43f672695a9d00ac04608 (diff)
downloadcatch3-cf6f9e32535285448cdb668e95a5ea10bc0f3a4b.tar.gz
Initialise unexpectedExceptions in JUnitReporter
Diffstat (limited to 'include')
-rw-r--r--include/reporters/catch_reporter_junit.cpp2
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;
};