Unable to compile to android with default GearVR.cpp file

Hey guys,

The GearVR.cpp has incorrect syntax, and unsure to fix. But its preventing me from compiling my android apk.

MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: Creating makefile for GrottoMercsUE4 (UnrealBuildTool.exe is newer)
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: NDK version: 19, GccVersion: 4.8
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: Compiling Native code with NDK API 'android-19'
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: Performing 3 actions (4 in parallel)
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: [1/3] clang++.exe Module.GearVR.cpp [x86-es2]
LogFileHelpers: Editor autosave (incl. sublevels) for '/Game/ThirdPerson/Maps/ThirdPersonExampleMap' took 0.014
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: In file included from C:/UE4/Engine/Plugins/Runtime/GearVR/Intermediate/Build/Android/GrottoMercsUE4/Development/GearVR/Module.GearVR.cpp:2:
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: C:\UE4\Engine\Plugins\Runtime\GearVR\Source\GearVR\Private\GearVR.cpp(1276,1) :  error: control reaches end of non-void function [-Werror,-Wreturn-type]
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: }
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: ^
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: 1 error generated.
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\UE4\Engine\Plugins\Runtime\GearVR\Binaries\Android\GrottoMercsUE4-GearVR-x86-es2.a
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: Total build time: 45.48 seconds
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): CommandUtils.Run: Run: Took 45.5205079s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\UE4\Engine\Binaries\DotNET\UnrealBuildTool.exe GrottoMercsUE4 Android Development -Project="C:\Users\RPGMAKERPRO\Documents\Unre
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): al Projects\GrottoMercsUE4\GrottoMercsUE4.uproject"  "C:\Users\RPGMAKERPRO\Documents\Unreal Projects\GrottoMercsUE4\GrottoMercsUE4.uproject"  -remoteini="C:\Users\RPGMAKERPRO\Documents\Unreal Projects\GrottoMercsUE4" -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.01.15-14.17.01.txt' 
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 800
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 51
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 348
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1426
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) in c:\UE4\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 146
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params) in c:\UE4\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 211
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.BuildCommand.Execute() in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 28
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 539
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.Automation.Process(String[] CommandLine) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 510
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.Program.MainProc(Object Param) in c:\UE4\Engine\Source\Programs\AutomationTool\Program.cs:line 131
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.Program.Main() in c:\UE4\Engine\Source\Programs\AutomationTool\Program.cs:line 54
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Domain_ProcessExit
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): AutomationToolLauncher exiting with ExitCode=5
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): copying UAT log files...
MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED

Issue resolved, I removed this option from the plugins list.