mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: Resolved a couple of compiler warnings
This commit is contained in:
@ -575,7 +575,7 @@ bool Foam::cellCellStencils::trackingInverseDistance::update()
|
||||
DebugInfo<< FUNCTION_NAME << " : Moved zone sub-meshes" << endl;
|
||||
|
||||
// Calculate fast search structure for each zone
|
||||
List<labelVector> searchBoxDivisions(dict_["searchBoxDivisions"]);
|
||||
List<labelVector> searchBoxDivisions(dict_.lookup("searchBoxDivisions"));
|
||||
if (searchBoxDivisions.size() != nZones)
|
||||
{
|
||||
FatalIOErrorInFunction(dict_) << "Number of searchBoxDivisions "
|
||||
|
||||
@ -173,7 +173,7 @@ void Foam::oversetFvPatchField<Type>::initEvaluate
|
||||
{
|
||||
const dictionary* dictPtr
|
||||
(
|
||||
fvSchemes.subDictPtr("oversetInterpolationSuppressed")
|
||||
fvSchemes.findDict("oversetInterpolationSuppressed")
|
||||
);
|
||||
|
||||
const wordHashSet& suppress =
|
||||
|
||||
Reference in New Issue
Block a user