[Kdenlive-devel] [PATCH 03/14] meltjob.cpp: initialize m_showFrameEvent
Mikko Rapeli
mikko.rapeli at iki.fi
Sun Jul 22 18:28:11 UTC 2012
Found by Coverity:
37MeltJob::MeltJob(CLIPTYPE cType, const QString &id, QStringList parameters) : AbstractClipJob(MLTJOB, cType, id, parameters),
38 m_producer(NULL),
39 m_profile(NULL),
40 m_consumer(NULL),
41 m_length(0)
42{
43 jobStatus = JOBWAITING;
44 m_params = parameters;
45 description = i18n("Process clip");
46 QString consum = m_params.at(5);
At conditional (1): "consum.contains(QString const(":"), _ZN2Qt13CaseSensitiveE).operator void const *()" taking the true branch.
47 if (consum.contains(":")) m_dest = consum.section(":", 1);
CID 709312: Uninitialized pointer field (UNINIT_CTOR)
Non-static class member ""m_showFrameEvent"" is not initialized in this constructor nor in any functions that it calls.
48}
---
src/projecttree/meltjob.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/projecttree/meltjob.cpp b/src/projecttree/meltjob.cpp
index 0ec44cd..19d29e1 100644
--- a/src/projecttree/meltjob.cpp
+++ b/src/projecttree/meltjob.cpp
@@ -38,6 +38,7 @@ MeltJob::MeltJob(CLIPTYPE cType, const QString &id, QStringList parameters) : Ab
m_producer(NULL),
m_profile(NULL),
m_consumer(NULL),
+ m_showFrameEvent(NULL),
m_length(0)
{
jobStatus = JOBWAITING;
--
1.7.10.4
More information about the Kdenlive
mailing list