appease clang

This commit is contained in:
Nikita Smith
2025-03-27 15:37:27 -07:00
parent dab65d6523
commit c57b5fcd6d
6 changed files with 33 additions and 13 deletions
+5 -4
View File
@@ -172,12 +172,15 @@ rc_context_from_cmd_line(Arena *arena, CmdLine *cmdl)
String8 debug_name = {0};
String8 debug_data = {0};
B32 check_guid = 0;
Guid pe_pdb_guid = {0};
B32 elf_has_debug_link = 0;
ELF_GnuDebugLink debug_link = {0};
//
// Input has PE/COFF
//
B32 check_guid = 0;
Guid pe_pdb_guid = {0};
if (is_pe_present) {
image = Image_CoffPe;
image_name = pe_name;
@@ -221,8 +224,6 @@ rc_context_from_cmd_line(Arena *arena, CmdLine *cmdl)
}
}
B32 elf_has_debug_link = 0;
ELF_GnuDebugLink debug_link = {0};
if (is_elf_present || is_elf_debug_present) {
if (driver != RC_Driver_Null && driver != RC_Driver_Dwarf) {
fprintf(stderr, "error: ELF inputs are only supported when using DWARF driver.\n");
+1
View File
@@ -14,6 +14,7 @@
#include "third_party/xxHash/xxhash.h"
#define SINFL_IMPLEMENTATION
#include "third_party/sinfl/sinfl.h"
#include "third_party/radsort/radsort.h"
////////////////////////////////
// RDI Format Library