diff --git a/MeshLib/IO/VtkIO/VtuInterface-impl.h b/MeshLib/IO/VtkIO/VtuInterface-impl.h index 6f8c904802dec858792066b320d6cb7e2da34f42..44da8a37f7c51de5f993c11e48c8cae958158a44 100644 --- a/MeshLib/IO/VtkIO/VtuInterface-impl.h +++ b/MeshLib/IO/VtkIO/VtuInterface-impl.h @@ -72,6 +72,10 @@ bool VtuInterface::writeVTU(std::string const& file_name, vtuWriter->SetNumberOfPieces(num_partitions); vtuWriter->SetStartPiece(rank); vtuWriter->SetEndPiece(rank); +#else + // avoid unused parameter warnings. + (void)num_partitions; + (void)rank; #endif return (vtuWriter->Write() > 0);