From f9fefde38701cbdf19c0bb1c6ad08904f9eb9e3b Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 7 Oct 2022 19:00:40 +0200 Subject: [PATCH] warning fixed --- examples/iotdashboard/MainItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/iotdashboard/MainItem.cpp b/examples/iotdashboard/MainItem.cpp index 30dcee00..7a09d05e 100644 --- a/examples/iotdashboard/MainItem.cpp +++ b/examples/iotdashboard/MainItem.cpp @@ -40,7 +40,7 @@ void Cube::startAnimation( Qsk::Direction direction ) const bool inverted = ( direction == Qsk::LeftToRight || direction == Qsk::TopToBottom ); animator->setInverted( inverted ); - int newIndex; + int newIndex = 0; switch( direction ) {