Pārlūkot izejas kodu

COMP: ctkLayoutManagerTest1: Fix unused variable warning

Jean-Christophe Fillion-Robin 7 gadi atpakaļ
vecāks
revīzija
ea2b1382ff
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      Libs/Widgets/Testing/Cpp/ctkLayoutManagerTest1.cpp

+ 1 - 0
Libs/Widgets/Testing/Cpp/ctkLayoutManagerTest1.cpp

@@ -118,6 +118,7 @@ int ctkLayoutManagerTest1(int argc, char * argv [] )
   QDomDocument nestedLayoutDoc("nestedlayout");
   res = nestedLayoutDoc.setContent(nestedLayout);
   Q_ASSERT(res);
+  Q_UNUSED(res);
 
   layoutManager.setLayout(simpleLayoutDoc);
   if (layoutManager.layout() != simpleLayoutDoc)