diff --git a/src/controls/private/QskSGNodeUtility.h b/src/controls/private/QskSGNodeUtility.h index a83de54f..8ff007bb 100644 --- a/src/controls/private/QskSGNodeUtility.h +++ b/src/controls/private/QskSGNodeUtility.h @@ -27,6 +27,7 @@ namespace QskSGNode if constexpr ( mode == Recursive ) { QSGNode* current = root; + Q_UNUSED( current ) ( [ ¤t ]( QSGNode* const child ) mutable { current->appendChildNode( child );