File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -153,20 +153,6 @@ LeakReport::EnsureLeakReportFile()
153153 Print (_u (" ================================================================================\n " ));
154154 Print (_u (" Chakra Leak Report - PID: %d\n " ), ::GetCurrentProcessId ());
155155
156- struct tm local_time;
157- uint64 time_ms = (uint64) PlatformAgnostic::DateTime::HiResTimer::GetSystemTime (); // utc
158- #ifdef _MSC_VER
159- __time64_t time_sec = time_ms / 1000 ; // get rid of the milliseconds
160- _localtime64_s (&local_time, &time_sec);
161- #else
162- time_t time_sec = time_ms / 1000 ; // get rid of the milliseconds
163- localtime_r (&time_sec, &local_time);
164- #endif
165- Print (_u (" %04d-%02d-%02d %02d:%02d:%02d.%03d\n " ),
166- local_time.tm_year + 1900 , local_time.tm_mon + 1 , local_time.tm_mday ,
167- local_time.tm_hour , local_time.tm_min , local_time.tm_sec ,
168- time_ms % 1000 );
169-
170156 return true ;
171157}
172158
You can’t perform that action at this time.
0 commit comments