From fff384bcef5a343c496d0343ac0b6e40cebbfffb Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 4 Apr 2015 10:35:48 -0400 Subject: [PATCH] Switch from (void) to commented parameter name. For some compiler options the (void) was not included in the source, leading to extra compiler warnings. --- source/base/data_out_base.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index d3bb43ed67..80db87a97b 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -7177,7 +7177,7 @@ void DataOutBase::write_hdf5_parallel (const std::vector > & template -void DataOutBase::write_hdf5_parallel (const std::vector > &patches, +void DataOutBase::write_hdf5_parallel (const std::vector > &/*patches*/, const DataOutBase::DataOutFilter &data_filter, const bool write_mesh_file, const std::string &mesh_filename, @@ -7188,7 +7188,6 @@ void DataOutBase::write_hdf5_parallel (const std::vector > & // throw an exception, but first make // sure the compiler does not warn about // the now unused function arguments - (void)patches; (void)data_filter; (void)write_mesh_file; (void)mesh_filename; -- 2.39.5