[vlc-devel] [PATCH 6/7] qt: variables: silence unused variable warning
    Alexandre Janniaux 
    ajanni at videolabs.io
       
    Thu Jul 25 01:14:54 CEST 2019
    
    
  
---
 modules/gui/qt/adapters/variables.hpp | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/modules/gui/qt/adapters/variables.hpp b/modules/gui/qt/adapters/variables.hpp
index 15421f5c1b..69c5f6f2d9 100644
--- a/modules/gui/qt/adapters/variables.hpp
+++ b/modules/gui/qt/adapters/variables.hpp
@@ -120,6 +120,9 @@ public:
         , m_property(property)
     {
         cref.self = this;
+        /* This parameter is later used by derivative classes, and only helps
+         * the type inference here. */
+        VLC_UNUSED(object);
     }
 
     virtual ~QVLCVariable()
-- 
2.22.0
    
    
More information about the vlc-devel
mailing list