Ue4.25-plus: FbxMainExport.cpp:: error: declaration shadows a field of 'UnFbx::FFbxExporter'

I get the following error when compiling commit on the 4.25-plus branch:



[113/2436] Compile Module.UnrealEd.10_of_22.cpp
In file included from /mnt/storage/mount/project/software/library/unrealengine-4.25/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/UnrealEd/Module.UnrealEd.10_of_22.cpp:22:
/mnt/storage/mount/project/software/library/unrealengine-4.25/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxMainExport.cpp:: error: declaration shadows a field of 'UnFbx::FFbxExporter' -Werror,-Wshadow]
auto SetTextureProperty = &FbxMaterial, &Value](const char* FbxPropertyName, FbxScene* Scene)->bool
^
/mnt/storage/mount/project/software/library/unrealengine-4.25/Engine/Source/Editor/UnrealEd/Private/FbxExporter.h:286:12: note: previous declaration is here
FbxScene* Scene;
^
1 error generated.


I tried building the master branch with commit from 2nd June 2020 and it compiled okay. The build failure is probably due to the commits made on June 3 2020.