From acae595e5e28942690d6c508f11d87274be49055 Mon Sep 17 00:00:00 2001 From: Niklas Hauser Date: Mon, 22 Jan 2024 17:52:55 +0100 Subject: [PATCH] Fix compiler warning in loadelf --- Src/loadelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/loadelf.c b/Src/loadelf.c index 5af089e6..37e008f3 100644 --- a/Src/loadelf.c +++ b/Src/loadelf.c @@ -347,7 +347,7 @@ static void _processFunctionDie( struct symbol *p, Dwarf_Debug dbg, Dwarf_Die di char *name = NULL; Dwarf_Addr h = 0; Dwarf_Addr l = 0; - enum Dwarf_Form_Class formclass; + enum Dwarf_Form_Class formclass = DW_FORM_CLASS_UNKNOWN; Dwarf_Attribute attr_data; Dwarf_Half attr_tag;