diff --git a/src/dynamicMesh/layerAdditionRemoval/layerAdditionRemoval.C b/src/dynamicMesh/layerAdditionRemoval/layerAdditionRemoval.C
index c90ad7e878276a644c41a6ea7e12b1dc0e8c5ce6..e2cc0d711b2c0a2a3bf3b9fdf67d73b3783de499 100644
--- a/src/dynamicMesh/layerAdditionRemoval/layerAdditionRemoval.C
+++ b/src/dynamicMesh/layerAdditionRemoval/layerAdditionRemoval.C
@@ -102,7 +102,7 @@ Foam::scalar Foam::layerAdditionRemoval::readOldThickness
     const dictionary& dict
 )
 {
-    dict.lookupOrDefault("oldLayerThickness", -1.0);
+    return dict.lookupOrDefault("oldLayerThickness", -1.0);
 }
 
 
diff --git a/src/meshTools/Make/files.txt b/src/meshTools/Make/files.txt
deleted file mode 100644
index 911ae444fd312b293964d356fc214995b64dc721..0000000000000000000000000000000000000000
--- a/src/meshTools/Make/files.txt
+++ /dev/null
@@ -1,126 +0,0 @@
-cellClassification/cellClassification.C
-cellClassification/cellInfo.C
-
-cellQuality/cellQuality.C
-
-cellDist/cellDistFuncs.C
-cellDist/patchWave/patchWave.C
-cellDist/wallPoint/wallPoint.C
-
-cellFeatures/cellFeatures.C
-
-coordinateSystems/parabolicCylindricalCS.C
-coordinateSystems/coordinateSystem.C
-coordinateSystems/toroidalCS.C
-coordinateSystems/cartesianCS.C
-coordinateSystems/newCoordinateSystem.C
-coordinateSystems/cylindricalCS.C
-coordinateSystems/sphericalCS.C
-coordinateSystems/coordinateRotation/coordinateRotation.C
-coordinateSystems/coordinateRotation/EulerCoordinateRotation.C
-coordinateSystems/coordinateRotation/STARCDCoordinateRotation.C
-
-polyMeshZipUpCells/polyMeshZipUpCells.C
-
-primitiveMeshGeometry/primitiveMeshGeometry.C
-
-meshSearch/meshSearch.C
-
-meshTools/meshTools.C
-
-PointEdgeWave/PointEdgeWaveName.C
-PointEdgeWave/pointEdgePoint.C
-
-regionSplit/regionSplit.C
-
-octree/octreeName.C
-octree/octreeDataPoint.C
-octree/octreeDataPointTreeLeaf.C
-octree/octreeDataEdges.C
-octree/octreeDataCell.C
-octree/octreeDataFace.C
-octree/treeBoundBox.C
-octree/treeNodeName.C
-octree/treeLeafName.C
-octree/pointIndexHitIOList.C
-
-indexedOctree/indexedOctreeName.C
-indexedOctree/treeDataTriSurface.C
-
-topoSets = sets/topoSets
-$(topoSets)/cellSet.C
-$(topoSets)/topoSet.C
-$(topoSets)/faceSet.C
-$(topoSets)/pointSet.C
-
-sets/topoSetSource/topoSetSource.C
-
-cellSources =  sets/cellSources
-$(cellSources)/faceToCell/faceToCell.C
-$(cellSources)/fieldToCell/fieldToCell.C
-$(cellSources)/pointToCell/pointToCell.C
-$(cellSources)/shapeToCell/shapeToCell.C
-$(cellSources)/boxToCell/boxToCell.C
-$(cellSources)/rotatedBoxToCell/rotatedBoxToCell.C
-$(cellSources)/labelToCell/labelToCell.C
-$(cellSources)/surfaceToCell/surfaceToCell.C
-$(cellSources)/cellToCell/cellToCell.C
-$(cellSources)/nearestToCell/nearestToCell.C
-$(cellSources)/nbrToCell/nbrToCell.C
-$(cellSources)/zoneToCell/zoneToCell.C
-
-faceSources = sets/faceSources
-$(faceSources)/faceToFace/faceToFace.C
-$(faceSources)/labelToFace/labelToFace.C
-$(faceSources)/cellToFace/cellToFace.C
-$(faceSources)/normalToFace/normalToFace.C
-$(faceSources)/pointToFace/pointToFace.C
-$(faceSources)/patchToFace/patchToFace.C
-$(faceSources)/boundaryToFace/boundaryToFace.C
-$(faceSources)/zoneToFace/zoneToFace.C
-$(faceSources)/boxToFace/boxToFace.C
-
-pointSources = sets/pointSources
-$(pointSources)/labelToPoint/labelToPoint.C
-$(pointSources)/pointToPoint/pointToPoint.C
-$(pointSources)/cellToPoint/cellToPoint.C
-$(pointSources)/faceToPoint/faceToPoint.C
-$(pointSources)/boxToPoint/boxToPoint.C
-$(pointSources)/surfaceToPoint/surfaceToPoint.C
-$(pointSources)/zoneToPoint/zoneToPoint.C
-
-surfaceSets/surfaceSets.C
-
-triSurface/orientedSurface/orientedSurface.C
-
-booleanOps = triSurface/booleanOps
-
-surfaceIntersection = $(booleanOps)/surfaceIntersection
-$(surfaceIntersection)/surfaceIntersection.C
-$(surfaceIntersection)/surfaceIntersectionFuncs.C
-$(surfaceIntersection)/edgeIntersections.C
-
-booleanSurface = $(booleanOps)/booleanSurface
-$(booleanSurface)/booleanSurface.C
-
-intersectedSurface = $(booleanOps)/intersectedSurface
-$(intersectedSurface)/intersectedSurface.C
-$(intersectedSurface)/edgeSurface.C
-
-triSurface/triSurfaceSearch/triSurfaceSearch.C
-
-triSurface/octreeData/octreeDataTriSurface.C
-triSurface/octreeData/octreeDataTriSurfaceTreeLeaf.C
-
-triSurface/triangleFuncs/triangleFuncs.C
-
-triSurface/surfaceFeatures/surfaceFeatures.C
-
-triSurface/triSurfaceMeshes/triSurfaceMeshes.C
-
-twoDPointCorrector/twoDPointCorrector.C
-
-directMapped/directMappedPolyPatch/directMappedPolyPatch.C
-directMapped/directMappedPointPatch/directMappedPointPatch.C
-
-LIB = $(FOAM_LIBBIN)/libmeshTools