CI: fix build on FreeBSD & SunOS

This commit is contained in:
Carter Li
2024-08-08 15:36:17 +08:00
parent 1394a0ae2e
commit 79c02ebf7c
2 changed files with 3 additions and 2 deletions
-1
View File
@@ -38,7 +38,6 @@ const char* ffElfExtractStrings(const char* elfFile, bool (*cb)(const char* str,
}
Elf_Scn* scn = NULL;
FF_STRBUF_AUTO_DESTROY buffer = ffStrbufCreate();
while ((scn = ffelf_nextscn(elf, scn)) != NULL)
{
Elf64_Shdr* shdr64 = ffelf64_getshdr(scn);