Kaydet (Commit) fc27fec0 authored tarafından Julien Nabet's avatar Julien Nabet

Fix Variable 'TimeBuffer' is not assigned a value

See http://nabble.documentfoundation.org/Cppcheck-TimeBuffer-is-not-assigned-a-value-in-basic-module-td4036591.html

Change-Id: I2d67cecf3530301d49c43bbe397c5e975b2816b0
üst 8876ea06
...@@ -598,6 +598,7 @@ void dbg_traceStep( SbModule* pModule, sal_uInt32 nPC, sal_Int32 nCallLvl ) ...@@ -598,6 +598,7 @@ void dbg_traceStep( SbModule* pModule, sal_uInt32 nPC, sal_Int32 nCallLvl )
bSTMT = true; bSTMT = true;
} }
char TimeBuffer[200]; char TimeBuffer[200];
memset (TimeBuffer, 0, size(TimeBuffer));
#ifdef DBG_TRACE_PROFILING #ifdef DBG_TRACE_PROFILING
if( bPrintTimeStamp ) if( bPrintTimeStamp )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment