qml: remove overwritten value
authorLuis de Bethencourt <luis@debethencourt.com>
Fri, 28 Aug 2015 15:35:39 +0000 (16:35 +0100)
committerMatthew Waters <matthew@centricular.com>
Mon, 28 Sep 2015 08:17:22 +0000 (18:17 +1000)
Value in tex is overwritten before being used. Removing it.

CID 1320715

https://bugzilla.gnome.org/show_bug.cgi?id=754253

ext/qt/qtitem.cc

index fe56a57..9e7cdbe 100644 (file)
@@ -193,8 +193,6 @@ QtGLVideoItem::updatePaintNode(QSGNode * oldNode,
   if (!texNode) {
     texNode = new QSGSimpleTextureNode ();
     texNode->setOwnsTexture (true);
-  } else {
-    tex = static_cast<GstQSGTexture *> (texNode->texture());
   }
 
   tex = new GstQSGTexture ();