瀏覽代碼

COMP: ctkLayoutManagerTest1: Fix unused variable warning

Jean-Christophe Fillion-Robin 7 年之前
父節點
當前提交
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)