vlc | branch: master | Alexandre Janniaux <[email protected]> | Thu Jul 25 
01:14:54 2019 +0200| [1634f9660b823ef310f38be3a7d7824ac2c2cda4] | committer: 
Jean-Baptiste Kempf

qt: variables: silence unused variable warning

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1634f9660b823ef310f38be3a7d7824ac2c2cda4
---

 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()

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to