Found by Coverity:

 60TitleDocument::TitleDocument()
 61{
 62    m_scene = NULL;
CID 709315: Uninitialized scalar field (UNINIT_CTOR)
Non-static class member ""m_height"" is not initialized in this constructor nor 
in any functions that it calls.
Non-static class member ""m_width"" is not initialized in this constructor nor 
in any functions that it calls.
 63}
---
 src/titledocument.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/titledocument.cpp b/src/titledocument.cpp
index dc198f2..95aff61 100644
--- a/src/titledocument.cpp
+++ b/src/titledocument.cpp
@@ -60,6 +60,8 @@ QByteArray fileToByteArray(const QString& filename)
 TitleDocument::TitleDocument()
 {
     m_scene = NULL;
+    m_width = 0;
+    m_height = 0;
 }
 
 void TitleDocument::setScene(QGraphicsScene* _scene, int width, int height)
-- 
1.7.10.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to