summaryrefslogtreecommitdiff
path: root/epan/dissectors/file-elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/file-elf.c')
-rw-r--r--epan/dissectors/file-elf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/file-elf.c b/epan/dissectors/file-elf.c
index 259d71360c..f1769d7e6a 100644
--- a/epan/dissectors/file-elf.c
+++ b/epan/dissectors/file-elf.c
@@ -958,16 +958,16 @@ dissect_eh_frame_hdr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *segment_
static gint
dissect_eh_frame(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *segment_tree,
- gint offset, gint segment_size _U_, gint register_size _U_, guint machine_encoding)
+ gint offset, gint segment_size, gint register_size _U_, guint machine_encoding)
{
proto_tree *cfi_tree = NULL;
proto_item *cfi_tree_item = NULL;
proto_tree *entry_tree;
- proto_item *pi;
+ proto_item *pi = NULL;
guint64 length;
guint lengths_size;
gboolean is_cie;
- guint entry_size, entry_end;
+ guint entry_size, entry_end = 0;
guint cfi_size = 0;
guint64 unsigned_value;
gint64 signed_value;