[vlc-commits] Qt: ConfigControl: fix unused warning

Francois Cartegnie git at videolan.org
Mon Mar 26 16:26:06 CEST 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Mar 26 16:24:39 2012 +0200| [bb3548676a410c52be8871176fea2b6be07f1e43] | committer: Francois Cartegnie

Qt: ConfigControl: fix unused warning

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

 modules/gui/qt4/components/preferences_widgets.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/preferences_widgets.hpp b/modules/gui/qt4/components/preferences_widgets.hpp
index c749163..105d924 100644
--- a/modules/gui/qt4/components/preferences_widgets.hpp
+++ b/modules/gui/qt4/components/preferences_widgets.hpp
@@ -93,7 +93,7 @@ public:
 protected:
     ConfigControl( vlc_object_t *_p_this, module_config_t *_p_conf,
                    QWidget *p ) : p_this( _p_this ), p_item( _p_conf )
-    { widget = NULL; }
+    { Q_UNUSED( p ); widget = NULL; }
     ConfigControl( vlc_object_t *_p_this, module_config_t *_p_conf ) :
                             p_this (_p_this ), p_item( _p_conf )
     { widget = NULL; }



More information about the vlc-commits mailing list