From ad714276560ae3bd213e2eede6a883ea8eeb9474 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Mon, 7 May 2012 07:31:56 +0000 Subject: [PATCH] Removed harmless gcc warnings --- src/common/meshmodel.cpp | 2 +- src/common/meshmodel.h | 2 +- src/common/scriptinterface.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/meshmodel.cpp b/src/common/meshmodel.cpp index 5d6ee6d7d..7392eeb56 100644 --- a/src/common/meshmodel.cpp +++ b/src/common/meshmodel.cpp @@ -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()); diff --git a/src/common/meshmodel.h b/src/common/meshmodel.h index 6656c63a7..4ed5c06d3 100644 --- a/src/common/meshmodel.h +++ b/src/common/meshmodel.h @@ -505,7 +505,7 @@ class MeshDocument : public QObject public: - MeshDocument(): QObject(),xmlhistory(),rendstate() + MeshDocument(): QObject(),rendstate(),xmlhistory() { tagIdCounter=0; meshIdCounter=0; diff --git a/src/common/scriptinterface.cpp b/src/common/scriptinterface.cpp index 89be7b7ff..e2c151919 100644 --- a/src/common/scriptinterface.cpp +++ b/src/common/scriptinterface.cpp @@ -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);