diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 11:37:53 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-12 11:54:08 +0100 |
commit | fc27fec0543009dbb6c6ca002283564215aae4b1 (patch) | |
tree | b4081c8e689bdd718826461dbcb940e71c1f6e44 | |
parent | 8876ea069f4ed47752ee96585a67831c6cb3d7b3 (diff) |
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
-rw-r--r-- | basic/source/comp/sbcomp.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/basic/source/comp/sbcomp.cxx b/basic/source/comp/sbcomp.cxx index 8f1f0812bce5..85d91aeac257 100644 --- a/basic/source/comp/sbcomp.cxx +++ b/basic/source/comp/sbcomp.cxx @@ -598,6 +598,7 @@ void dbg_traceStep( SbModule* pModule, sal_uInt32 nPC, sal_Int32 nCallLvl ) bSTMT = true; } char TimeBuffer[200]; + memset (TimeBuffer, 0, size(TimeBuffer)); #ifdef DBG_TRACE_PROFILING if( bPrintTimeStamp ) { |