Pacify clang-tidy

This commit is contained in:
John Reiser
2023-07-26 17:21:39 -07:00
committed by Markus F.X.J. Oberhumer
parent 053e95033f
commit 905bfacf44
3 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -386,6 +386,9 @@ PackLinuxElf32::PackLinuxElf32help1(InputFile *f)
off_t PackLinuxElf::pack3(OutputFile *fo, Filter &ft) // return length of output
{
if (!fo) {
return 0;
}
unsigned disp;
unsigned len = sz_pack2a; // after headers and all PT_LOAD
@@ -4030,7 +4033,7 @@ void PackLinuxElf32x86::pack1(OutputFile *fo, Filter &ft)
void PackBSDElf32x86::pack1(OutputFile *fo, Filter &ft)
{
PackLinuxElf32::pack1(fo, ft);
super::pack1(fo, ft);
if (0!=xct_off) // shared library
return;
generateElfHdr(fo, stub_i386_bsd_elf_fold, getbrk(phdri, e_phnum) );