[vlc-commits] skins2(Win32): kill compil warnings

Erwan Tulou git at videolan.org
Thu Jun 9 21:53:57 CEST 2011


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Thu Jun  9 00:16:07 2011 +0200| [ba0677ca178727c19ee12b7a558ea08fad510a65] | committer: Erwan Tulou

skins2(Win32): kill compil warnings

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

 modules/gui/skins2/win32/win32_dragdrop.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/skins2/win32/win32_dragdrop.cpp b/modules/gui/skins2/win32/win32_dragdrop.cpp
index fb860ca..f43f553 100644
--- a/modules/gui/skins2/win32/win32_dragdrop.cpp
+++ b/modules/gui/skins2/win32/win32_dragdrop.cpp
@@ -72,6 +72,7 @@ STDMETHODIMP_(ULONG) Win32DragDrop::Release()
 STDMETHODIMP Win32DragDrop::DragEnter( LPDATAOBJECT pDataObj,
     DWORD grfKeyState, POINTL pt, DWORD *pdwEffect )
 {
+    (void)grfKeyState; (void)pt;
     FORMATETC fmtetc;
 
     fmtetc.cfFormat = CF_HDROP;
@@ -102,6 +103,7 @@ STDMETHODIMP Win32DragDrop::DragEnter( LPDATAOBJECT pDataObj,
 STDMETHODIMP Win32DragDrop::DragOver( DWORD grfKeyState, POINTL pt,
                                       DWORD *pdwEffect )
 {
+    (void)grfKeyState; (void)pdwEffect;
     // transmit DragOver event
     EvtDragOver evt( getIntf(), pt.x, pt.y );
     m_pWin->processEvent( evt );
@@ -124,6 +126,7 @@ STDMETHODIMP Win32DragDrop::DragLeave()
 STDMETHODIMP Win32DragDrop::Drop( LPDATAOBJECT pDataObj, DWORD grfKeyState,
     POINTL pt, DWORD *pdwEffect )
 {
+    (void)grfKeyState;
     // User has dropped on us -- get the CF_HDROP data from drag source
     FORMATETC fmtetc;
     fmtetc.cfFormat = CF_HDROP;



More information about the vlc-commits mailing list