Added missing declaration

This commit is contained in:
Hrvoje Jasak 2013-12-11 17:38:01 +00:00
parent 6870c99b4c
commit fc0cbfa6b4

View file

@ -217,7 +217,7 @@ Foam::fileName Foam::findEtcFile(const fileName& name, bool mandatory)
// Search user files: deprecated. HJ, 11/Dec/2013
// Search site files:
searchDir = getEnv("WM_PROJECT_INST_DIR");
fileName searchDir = getEnv("WM_PROJECT_INST_DIR");
if (isDir(searchDir))
{
// Check for site file in $WM_PROJECT_INST_DIR/site/VERSION