r335702 - Fix warning about unhandled enumeration in switch.

John Baldwin via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 27 08:48:28 PDT 2018


On 6/26/18 7:49 PM, Zachary Turner via cfe-commits wrote:
> Author: zturner
> Date: Tue Jun 26 19:49:22 2018
> New Revision: 335702
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=335702&view=rev
> Log:
> Fix warning about unhandled enumeration in switch.
> 
> Modified:
>     cfe/trunk/lib/Driver/ToolChains/FreeBSD.cpp
> 
> Modified: cfe/trunk/lib/Driver/ToolChains/FreeBSD.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/FreeBSD.cpp?rev=335702&r1=335701&r2=335702&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Driver/ToolChains/FreeBSD.cpp (original)
> +++ cfe/trunk/lib/Driver/ToolChains/FreeBSD.cpp Tue Jun 26 19:49:22 2018
> @@ -198,6 +198,8 @@ void freebsd::Linker::ConstructJob(Compi
>      else
>        CmdArgs.push_back("elf64ltsmip_fbsd");
>      break;
> +  default:
> +    break;
>    }

Thanks for fixing and apologies for the build breakage. :(

-- 
John Baldwin


More information about the cfe-commits mailing list