Remove warnings about unused parameters

This commit is contained in:
Laurent Rineau 2014-07-10 14:41:42 +02:00
parent b63488b0e9
commit 19158bac27
5 changed files with 6 additions and 4 deletions

View File

@ -32,6 +32,7 @@
#include <iostream>
#include <fstream>
#include <CGAL/use.h>
// class Concurrent_mesher_config
/// Singleton containing config
@ -89,6 +90,7 @@ protected:
const char *filename,
bool reload_if_already_loaded = false)
{
CGAL_USE(reload_if_already_loaded);
#ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS
if (m_config_file_loaded && reload_if_already_loaded == false)
return true;

View File

@ -101,7 +101,7 @@ struct Null_mesher_level {
void add_to_TLS_lists(bool) {}
void splice_local_lists() {}
template <typename Mesh_visitor>
void before_next_element_refinement_in_superior(Mesh_visitor visitor) {}
void before_next_element_refinement_in_superior(Mesh_visitor) {}
void before_next_element_refinement() {}
//==============================================

View File

@ -345,7 +345,7 @@ protected:
template <typename Func, typename PVertex>
void enqueue_work(Func, const PVertex &) const {}
void increment_erase_counter(const Vertex_handle &vh) const {}
void increment_erase_counter(const Vertex_handle &) const {}
};
#ifdef CGAL_LINKED_WITH_TBB

View File

@ -47,7 +47,7 @@ namespace Meshes {
typedef typename Container::size_type size_type;
typedef typename Container::value_type value_type;
void add_to_TLS_lists_impl(bool add) {}
void add_to_TLS_lists_impl(bool) {}
Element get_next_local_element_impl()
{ return Element(); }
value_type get_next_local_raw_element_impl()

View File

@ -46,7 +46,7 @@ namespace CGAL {
typedef typename Map::size_type size_type;
typedef typename Map::value_type value_type;
void add_to_TLS_lists_impl(bool add) {}
void add_to_TLS_lists_impl(bool) {}
Element get_next_local_element_impl()
{ return Element(); }
value_type get_next_local_raw_element_impl()