From: David Wells Date: Sat, 4 Apr 2015 14:35:48 +0000 (-0400) Subject: Switch from (void) to commented parameter name. X-Git-Tag: v8.3.0-rc1~278^2~14 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fff384bcef5a343c496d0343ac0b6e40cebbfffb;p=dealii.git Switch from (void) to commented parameter name. For some compiler options the (void) was not included in the source, leading to extra compiler warnings. --- 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;