Explorar el Código

COMP: ctkLayoutManagerTest1: Fix unused variable warning

Jean-Christophe Fillion-Robin hace 7 años
padre
commit
ea2b1382ff
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)