Commit 6cc89ae7 authored by Erwan Tulou's avatar Erwan Tulou

skins2(Win): kill more compil warnings

parent a111119d
......@@ -1199,7 +1199,7 @@ string Builder::getFilePath( const string &rFileName ) const
}
#ifdef WIN32
int pos;
string::size_type pos;
while( ( pos = file.find( "/" ) ) != string::npos )
file.replace( pos, 1, sep );
#endif
......
......@@ -81,6 +81,7 @@ void Win32Graphics::drawBitmap( const GenericBitmap &rBitmap,
int xSrc, int ySrc, int xDest, int yDest,
int width, int height, bool blend )
{
(void)blend;
// Get the bitmap size if necessary
if( width == -1 )
{
......
......@@ -31,6 +31,7 @@
void CALLBACK CallbackTimer( HWND hwnd, UINT uMsg,
UINT_PTR idEvent, DWORD dwTime )
{
(void)hwnd; (void)uMsg; (void)dwTime;
Win32Timer *pTimer = (Win32Timer*)idEvent;
if( pTimer != NULL )
{
......
......@@ -52,6 +52,7 @@ Win32Window::Win32Window( intf_thread_t *pIntf, GenericWindow &rWindow,
OSWindow( pIntf ), m_dragDrop( dragDrop ), m_isLayered( false ),
m_pParent( pParentWindow ), m_type ( type )
{
(void)hParentWindow;
Win32Factory *pFactory = (Win32Factory*)Win32Factory::instance( getIntf() );
const char* vlc_name = "VlC Media Player";
......@@ -202,8 +203,6 @@ void Win32Window::raise() const
void Win32Window::setOpacity( uint8_t value ) const
{
Win32Factory *pFactory = (Win32Factory*)Win32Factory::instance( getIntf() );
if( !m_isLayered )
{
// add the WS_EX_LAYERED attribute.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment