mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	Fix warning on varialbe unused in opt builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182914 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -1486,8 +1486,7 @@ ELFObjectFile<ELFT>::getRelocatedSection(DataRefImpl Sec) const {
 | 
				
			|||||||
  if (sh_type != ELF::SHT_RELA && sh_type != ELF::SHT_REL)
 | 
					  if (sh_type != ELF::SHT_RELA && sh_type != ELF::SHT_REL)
 | 
				
			||||||
    return end_sections();
 | 
					    return end_sections();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  unsigned SecIndex = S->sh_info;
 | 
					  assert(S->sh_info != 0);
 | 
				
			||||||
  assert(SecIndex != 0);
 | 
					 | 
				
			||||||
  const Elf_Shdr *R = getSection(S->sh_info);
 | 
					  const Elf_Shdr *R = getSection(S->sh_info);
 | 
				
			||||||
  DataRefImpl D;
 | 
					  DataRefImpl D;
 | 
				
			||||||
  D.p = reinterpret_cast<uintptr_t>(R);
 | 
					  D.p = reinterpret_cast<uintptr_t>(R);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user