Removed harmless gcc warnings

This commit is contained in:
Paolo Cignoni cignoni 2012-05-07 07:31:56 +00:00
parent fefe073e19
commit ad71427656
3 changed files with 3 additions and 3 deletions

View File

@ -989,7 +989,7 @@ void MeshLabRenderState::clearState()
unlockRenderState(RASTER);
}
void MeshLabRenderState::copyBack( const int id,CMeshO& mm ) const
void MeshLabRenderState::copyBack( const int /*id*/,CMeshO& /*mm*/ ) const
{
// mm.Clear();
// mm.vert.swap(CMeshO::VertContainer());

View File

@ -505,7 +505,7 @@ class MeshDocument : public QObject
public:
MeshDocument(): QObject(),xmlhistory(),rendstate()
MeshDocument(): QObject(),rendstate(),xmlhistory()
{
tagIdCounter=0;
meshIdCounter=0;

View File

@ -808,7 +808,7 @@ QScriptValue ShotSI_ctor( QScriptContext* c,QScriptEngine* e )
return e->newQObject(shot, QScriptEngine::ScriptOwnership);
}
QScriptValue ShotSI_defctor( QScriptContext* c,QScriptEngine* e )
QScriptValue ShotSI_defctor( QScriptContext* /*c*/,QScriptEngine* e )
{
ShotSI* shot = new ShotSI();
return e->newQObject(shot, QScriptEngine::ScriptOwnership);