remove unused variable warning

This commit is contained in:
Sébastien Loriot 2015-07-22 15:46:35 +02:00
parent d0bd9c6557
commit 6dc5695989
3 changed files with 4 additions and 4 deletions

View File

@ -1310,7 +1310,7 @@ void Scene::deactivate_cutting_plane()
disconnect(m_frame, SIGNAL(modified()), this, SLOT(cutting_plane())); disconnect(m_frame, SIGNAL(modified()), this, SLOT(cutting_plane()));
m_view_plane = false; m_view_plane = false;
} }
void Scene::initGL(Viewer *viewer) void Scene::initGL(Viewer */* viewer */)
{ {
//qDebug()<<"context from scene is valid :"<<context->isValid(); //qDebug()<<"context from scene is valid :"<<context->isValid();
//gl = 0; //gl = 0;

View File

@ -237,10 +237,10 @@ private:
} }
This operator=(const This &o) { This operator=(const This &/* o */) {
return *this; return *this;
} }
Qt_widget_2(const This &o){} Qt_widget_2(const This &/* o */){}
protected: protected:
std::auto_ptr<QApplication> app_; std::auto_ptr<QApplication> app_;
typename Graphical_base::Handle base_; typename Graphical_base::Handle base_;

View File

@ -714,7 +714,7 @@ write_facets(const C3t3& c3t3, const Plane& plane, std::ofstream& out)
void void
C3t3_rib_exporter_plugin:: C3t3_rib_exporter_plugin::
write_surface_cells(const C3t3& c3t3, const Plane& plane, std::ofstream& out) write_surface_cells(const C3t3& c3t3, const Plane& /* plane */, std::ofstream& out)
{ {
for ( C3t3::Cells_in_complex_iterator it_cell = c3t3.cells_in_complex_begin(), for ( C3t3::Cells_in_complex_iterator it_cell = c3t3.cells_in_complex_begin(),
end = c3t3.cells_in_complex_end() ; it_cell != end ; ++it_cell ) end = c3t3.cells_in_complex_end() ; it_cell != end ; ++it_cell )