command line: randomly did not show output

Because of an uninitialized memory read introduced for DLT after
1.3.99.5, output from the syncevolution command line tool was not
shown randomly.

Other usages of the second constructor for MessageOptions may also
have been affected.

That this was not caught by nightly testing points towards a problem
which will have to be solve separately: test-dbus.py needs to run
syncevolution under valgrind.
This commit is contained in:
Patrick Ohly 2013-12-09 16:35:59 +01:00
parent 7ccfc4f524
commit 30575344cf

View file

@ -247,7 +247,8 @@ Logger::MessageOptions::MessageOptions(Level level) :
m_file(NULL),
m_line(0),
m_function(NULL),
m_processName(NULL)
m_processName(NULL),
m_flags(0)
{
}