Quellcode durchsuchen

COMP: ctkLayoutManagerTest1: Fix unused variable warning

Jean-Christophe Fillion-Robin vor 7 Jahren
Ursprung
Commit
ea2b1382ff
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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)