mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-18 07:52:35 +00:00
MCContext: Remove redundant assignment
The member variable is not initialized in the ctor so it's already empty. No need to empty it again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
54e582179f
commit
19f2fea461
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user