mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 07:24:47 +00:00
Fix typo.
Silence unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61391 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1616,7 +1616,7 @@ private:
|
|||||||
while (FromTy) {
|
while (FromTy) {
|
||||||
if (FromTy->getTag() != DW_TAG_typedef) {
|
if (FromTy->getTag() != DW_TAG_typedef) {
|
||||||
FieldSize = FromTy->getSize();
|
FieldSize = FromTy->getSize();
|
||||||
FieldAlign = FromTy->getSize();
|
FieldAlign = FromTy->getAlign();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2776,6 +2776,7 @@ public:
|
|||||||
sys::Path FullPath(Directories[SourceFiles[i].getDirectoryID()]);
|
sys::Path FullPath(Directories[SourceFiles[i].getDirectoryID()]);
|
||||||
bool AppendOk = FullPath.appendComponent(SourceFiles[i].getName());
|
bool AppendOk = FullPath.appendComponent(SourceFiles[i].getName());
|
||||||
assert(AppendOk && "Could not append filename to directory!");
|
assert(AppendOk && "Could not append filename to directory!");
|
||||||
|
AppendOk = false;
|
||||||
Asm->EmitFile(i, FullPath.toString());
|
Asm->EmitFile(i, FullPath.toString());
|
||||||
Asm->EOL();
|
Asm->EOL();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user