mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
The variable ValueSize is set to 1 on both code paths, and then
ignored! Remove it. llvm-svn: 107138
This commit is contained in:
parent
5446bab8a5
commit
84321cc550
@ -684,12 +684,8 @@ void MCAssembler::Finish() {
|
||||
for (MCAssembler::iterator it = begin(), ie = end(); it != ie; ++it) {
|
||||
// Create dummy fragments to eliminate any empty sections, this simplifies
|
||||
// layout.
|
||||
if (it->getFragmentList().empty()) {
|
||||
unsigned ValueSize = 1;
|
||||
if (getBackend().isVirtualSection(it->getSection()))
|
||||
ValueSize = 1;
|
||||
if (it->getFragmentList().empty())
|
||||
new MCFillFragment(0, 1, 0, it);
|
||||
}
|
||||
|
||||
it->setOrdinal(SectionIndex++);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user