From 6f5320c7290ace04982f967d645d2db2593a3bde Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 14 Mar 2014 20:09:26 +0000 Subject: [PATCH] MCContext: Remove redundant assignment The member variable is not initialized in the ctor so it's already empty. No need to empty it again. llvm-svn: 203963 --- lib/MC/MCContext.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp index f5f3bddcb21..198ae45cdfb 100644 --- a/lib/MC/MCContext.cpp +++ b/lib/MC/MCContext.cpp @@ -59,8 +59,6 @@ MCContext::MCContext(const MCAsmInfo *mai, const MCRegisterInfo *mri, if (SrcMgr && SrcMgr->getNumBuffers() > 0) MainFileName = SrcMgr->getMemoryBuffer(0)->getBufferIdentifier(); - else - MainFileName = ""; } MCContext::~MCContext() {