[vlc-commits] [Git][videolan/npapi-vlc][master] Fix unused parameter/variable warnings

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Feb 1 10:54:02 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC Browser Plugins


Commits:
f898fdad by Johannes Kauffmann at 2023-02-01T10:51:20+00:00
Fix unused parameter/variable warnings

- - - - -


2 changed files:

- activex/vlccontrol2.cpp
- common/win32_fullscreen.cpp


Changes:

=====================================
activex/vlccontrol2.cpp
=====================================
@@ -484,7 +484,6 @@ STDMETHODIMP VLCAudio::get_count(long* trackNumber)
             *trackNumber = 0;
             return S_OK;
         }
-        int count = 0;
         auto tracks = media->tracks(VLC::MediaTrack::Type::Audio);
         *trackNumber = tracks.size();
         break;
@@ -1550,7 +1549,6 @@ STDMETHODIMP VLCVideo::get_count(long* trackNumber)
             *trackNumber = 0;
             return S_OK;
         }
-        int count = 0;
         auto tracks = media->tracks(VLC::MediaTrack::Type::Video);
         if ( tracks.empty() )
             return E_OUTOFMEMORY;


=====================================
common/win32_fullscreen.cpp
=====================================
@@ -1061,7 +1061,7 @@ bool VLCWindowsManager::IsFullScreen()
     return 0!=_FSWnd && 0!=_HolderWnd && GetParent(_HolderWnd->hWnd())==_FSWnd->getHWND();
 }
 
-void VLCWindowsManager::OnKeyDownEvent(UINT uKeyMsg, WPARAM wParam, LPARAM lParam)
+void VLCWindowsManager::OnKeyDownEvent(UINT, WPARAM wParam, LPARAM)
 {
     switch(wParam){
         case VK_ESCAPE:



View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/-/commit/f898fdadf40f9493d16fe89a1e4c05547c5be6b0

-- 
View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/-/commit/f898fdadf40f9493d16fe89a1e4c05547c5be6b0
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list