Merge pull request #312 from LaurensVoerman/vnc_plugin

ReaderWriterVNC.cpp fix g++ warnings
This commit is contained in:
OpenSceneGraph git repository
2017-08-22 09:21:24 +01:00
committed by GitHub

View File

@@ -199,7 +199,7 @@ static rfbBool rfbInitConnection(rfbClient* client)
return TRUE;
}
void LibVncImage::passwordCheck(rfbClient* client,const char* encryptedPassWord,int len)
void LibVncImage::passwordCheck(rfbClient* /*client*/,const char* /*encryptedPassWord*/,int /*len*/)
{
OSG_NOTICE<<"LibVncImage::passwordCheck"<<std::endl;
}
@@ -319,7 +319,7 @@ rfbBool LibVncImage::resizeImage(rfbClient* client)
return TRUE;
}
void LibVncImage::updateImage(rfbClient* client,int x,int y,int w,int h)
void LibVncImage::updateImage(rfbClient* client, int /*x*/, int /*y*/, int /*w*/, int /*h*/)
{
LibVncImage* image = (LibVncImage*)(rfbClientGetClientData(client, 0));