From d839203b508f7accc9becb0c5eb2b9077c9a0555 Mon Sep 17 00:00:00 2001 From: sevas Date: Tue, 14 Jan 2014 18:29:18 +0100 Subject: [PATCH] fix: a copy paste gone wrong --- include/reporters/catch_reporter_junit.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/reporters/catch_reporter_junit.hpp b/include/reporters/catch_reporter_junit.hpp index 36f65db9..246db918 100644 --- a/include/reporters/catch_reporter_junit.hpp +++ b/include/reporters/catch_reporter_junit.hpp @@ -89,6 +89,9 @@ namespace Catch { else xml.writeAttribute( "time", suiteTime ); + time_t rawtime; + struct tm *timeinfo; + #ifdef CATCH_PLATFORM_WINDOWS // %z does not return the offset from UTC with MSVC's strftime implementation // Timestamps will look like: "2014-01-14T17:22:09"