Found by cppcheck:

[../src/dvdwizardmenu.h:39]: (warning) Member variable 'DvdScene::m_width' is 
not initialized in the constructor.
[../src/dvdwizardmenu.h:39]: (warning) Member variable 'DvdScene::m_height' is 
not initialized in the constructor.
---
 src/dvdwizardmenu.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/dvdwizardmenu.h b/src/dvdwizardmenu.h
index 6a9d44c..8c9931e 100644
--- a/src/dvdwizardmenu.h
+++ b/src/dvdwizardmenu.h
@@ -36,7 +36,9 @@ class DvdScene : public QGraphicsScene
 {
 
 public:
-    DvdScene(QObject * parent = 0): QGraphicsScene(parent) {}
+    DvdScene(QObject * parent = 0): QGraphicsScene(parent) {
+        m_width = 0; m_height = 0;
+    }
     void setProfile(int width, int height) {
         m_width = width;
         m_height = height;
-- 
1.7.5.4


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Kdenlive-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to