Fixed warning

This commit is contained in:
Robert Osfield
2007-02-13 22:22:35 +00:00
parent f85eda9c6a
commit e8d6cec990
2 changed files with 5 additions and 5 deletions

View File

@@ -1143,7 +1143,7 @@ void ConvertFromInventor::addPointCB(void* data, SoCallbackAction* action,
}
//////////////////////////////////////////////////////////////////////
void ConvertFromInventor::_setVRMLImageTexture(const SoVRMLImageTexture* vit,
SoCallbackAction* action)
SoCallbackAction* /*action*/)
{
_hasVRMLImageTexture = true;
///Coin API to extract VRML97 ImageTexture

View File

@@ -30,10 +30,10 @@ void Viewport::write(DataOutputStream* out){
throw Exception("Viewport::write(): Could not cast this osg::Viewport to an osg::Object.");
// Write Viewport's properties.
out->writeInt(x());
out->writeInt(y());
out->writeInt(width());
out->writeInt(height());
out->writeInt(static_cast<int>(x()));
out->writeInt(static_cast<int>(y()));
out->writeInt(static_cast<int>(width()));
out->writeInt(static_cast<int>(height()));
}
void Viewport::read(DataInputStream* in){