Change-Id: Ib5a5658e4c16256dff7b986251503788c8cfe2a9
CID:
1227411
std::string stacktrace_as_stdstring(int skip)
{
// From https://gist.github.com/fmela/591333
- void* callstack[128];
+ void* callstack[128] = {0};
const auto max_frames = sizeof(callstack) / sizeof(callstack[0]);
int num_frames = backtrace(callstack, max_frames);
char** symbols = backtrace_symbols(callstack, num_frames);
#endif // _WIN32
-#endif // LOGURU_IMPLEMENTATION
\ No newline at end of file
+#endif // LOGURU_IMPLEMENTATION