summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorSergey Dubitskiy <sergey.dubitskiy@nokia.com>2012-06-19 11:56:26 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-22 05:41:42 +0200
commit8a31f9fed164eb9cab57bd75ed1c0c99d9b73854 (patch)
tree96995e6c961c4824025857d932fb59215eb00e55 /demos
parent32823026cbbffe059c540711dda51488c8049238 (diff)
(Partial) Work done on Coverity report.
Only partial because Coverity report is no longer accessible. Change-Id: Id7e1171bd9ab3c3900eaa771c04a8df2a1d7dabe Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
Diffstat (limited to 'demos')
-rw-r--r--demos/qt3d/photobrowser3d/thumbnaileffect.cpp2
-rw-r--r--demos/qt3d/shapes/shapes.cpp3
2 files changed, 5 insertions, 0 deletions
diff --git a/demos/qt3d/photobrowser3d/thumbnaileffect.cpp b/demos/qt3d/photobrowser3d/thumbnaileffect.cpp
index d85deba5d..3d856b824 100644
--- a/demos/qt3d/photobrowser3d/thumbnaileffect.cpp
+++ b/demos/qt3d/photobrowser3d/thumbnaileffect.cpp
@@ -50,6 +50,8 @@ public:
: program(0)
, matrixUniform(-1)
, thumbnailUniform(-1)
+ , colorUniform(0)
+ , pickingUniform(0)
, thumbnail(false)
, thumbnailUpdateRequired(false)
{
diff --git a/demos/qt3d/shapes/shapes.cpp b/demos/qt3d/shapes/shapes.cpp
index 12ffea381..8ca561ceb 100644
--- a/demos/qt3d/shapes/shapes.cpp
+++ b/demos/qt3d/shapes/shapes.cpp
@@ -101,6 +101,9 @@ private:
ShapesWidget::ShapesWidget(QWindow *parent)
: QWindow(parent)
+ , scene(0)
+ , cube(0)
+ , teapot(0)
, context(0)
, initialised(false)
{