From: Patrik Hägglund Date: Thu, 24 May 2012 07:51:46 +0000 (+0000) Subject: Fix -Wcovered-switch-default warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c3cd3956e6063ddf2d875d0297b5134613f854b0;p=oota-llvm.git Fix -Wcovered-switch-default warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157381 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/GraphWriter.cpp b/lib/Support/GraphWriter.cpp index 32126ec39eb..f6aaf838117 100644 --- a/lib/Support/GraphWriter.cpp +++ b/lib/Support/GraphWriter.cpp @@ -99,7 +99,6 @@ void llvm::DisplayGraph(const sys::Path &Filename, bool wait, case GraphProgram::NEATO: args.push_back("-f"); args.push_back("neato");break; case GraphProgram::TWOPI: args.push_back("-f"); args.push_back("twopi");break; case GraphProgram::CIRCO: args.push_back("-f"); args.push_back("circo");break; - default: errs() << "Unknown graph layout name; using default.\n"; } args.push_back(0);