r335702 - Fix warning about unhandled enumeration in switch.
Zachary Turner via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 26 19:49:22 PDT 2018
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;
}
if (Arg *A = Args.getLastArg(options::OPT_G)) {
More information about the cfe-commits
mailing list