From be83b02021970eb07e9609e7b93721aaceb2cfae Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Fri, 18 Mar 2016 19:06:23 +0100
Subject: [PATCH] [FileIO] Removed parameter name from argument list.

The parameter is part of the inteface.
---
 FileIO/GmshIO/GMSHFixedMeshDensity.cpp | 8 ++------
 FileIO/GmshIO/GMSHNoMeshDensity.h      | 8 ++------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/FileIO/GmshIO/GMSHFixedMeshDensity.cpp b/FileIO/GmshIO/GMSHFixedMeshDensity.cpp
index 4a4095b5e45..720f103819d 100644
--- a/FileIO/GmshIO/GMSHFixedMeshDensity.cpp
+++ b/FileIO/GmshIO/GMSHFixedMeshDensity.cpp
@@ -29,17 +29,13 @@ void GMSHFixedMeshDensity::init(std::vector<GeoLib::Point const*> const& vec)
 	(void)(vec);
 }
 
-double GMSHFixedMeshDensity::getMeshDensityAtPoint(GeoLib::Point const*const pnt) const
+double GMSHFixedMeshDensity::getMeshDensityAtPoint(GeoLib::Point const*const) const
 {
-	// to avoid a warning here:
-	(void)(const_cast<GeoLib::Point const*>(pnt));
 	return _mesh_density;
 }
 
-double GMSHFixedMeshDensity::getMeshDensityAtStation(GeoLib::Point const*const pnt) const
+double GMSHFixedMeshDensity::getMeshDensityAtStation(GeoLib::Point const*const) const
 {
-	// to avoid a warning here:
-	(void)(const_cast<GeoLib::Point const*>(pnt));
 	return _mesh_density;
 }
 
diff --git a/FileIO/GmshIO/GMSHNoMeshDensity.h b/FileIO/GmshIO/GMSHNoMeshDensity.h
index bdfd61d0e1c..639efef590c 100644
--- a/FileIO/GmshIO/GMSHNoMeshDensity.h
+++ b/FileIO/GmshIO/GMSHNoMeshDensity.h
@@ -31,17 +31,13 @@ public:
 		(void)(vec);
 	}
 
-	double getMeshDensityAtPoint(GeoLib::Point const*const pnt) const
+	double getMeshDensityAtPoint(GeoLib::Point const*const) const
 	{
-		// to avoid a warning here:
-		(void)(pnt);
 		return 0.0;
 	}
 
-	double getMeshDensityAtStation(GeoLib::Point const*const pnt) const
+	double getMeshDensityAtStation(GeoLib::Point const*const) const
 	{
-		// to avoid a warning here:
-		(void)(pnt);
 		return 0.0;
 	}
 
-- 
GitLab