Просмотр исходного кода

COMP: ctkLayoutManagerTest1: Fix unused variable warning

Jean-Christophe Fillion-Robin лет назад: 8
Родитель
Сommit
ea2b1382ff
1 измененных файлов с 1 добавлено и 0 удалено
  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)