mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: Resolved compiler warning
This commit is contained in:
@ -83,13 +83,8 @@ Foam::token Foam::functionEntries::ifeqEntry::expand
|
|||||||
{
|
{
|
||||||
const word varName(keyword.substr(1, keyword.size()-1));
|
const word varName(keyword.substr(1, keyword.size()-1));
|
||||||
|
|
||||||
// lookup the variable name in the given dictionary
|
// Lookup the variable name in the given dictionary
|
||||||
const entry* ePtr = dict.lookupScopedEntryPtr
|
const entry* ePtr = dict.findScoped(varName, keyType::REGEX_RECURSIVE);
|
||||||
(
|
|
||||||
varName,
|
|
||||||
true,
|
|
||||||
true
|
|
||||||
);
|
|
||||||
if (ePtr)
|
if (ePtr)
|
||||||
{
|
{
|
||||||
return token(ePtr->stream());
|
return token(ePtr->stream());
|
||||||
|
|||||||
Reference in New Issue
Block a user