From 64f9bb983bf2f9e36670b6196b7d102adc800d74 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Thu, 8 Nov 2001 23:28:36 +0000 Subject: [PATCH] * s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and got_load_len, to placate compiler. --- gdb/ChangeLog | 5 +++++ gdb/s390-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ceec2f58c5a..7a54716e2c2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-11-08 Jim Blandy + + * s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and + got_load_len, to placate compiler. + 2001-11-08 Mark Kettenis * i386-tdep.c (i386_gdbarch_init): Fix typo. diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index f0f95015f77..97e65d9eee5 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -229,7 +229,7 @@ s390_get_frame_info (CORE_ADDR pc, struct frame_extra_info *fextra_info, load instruction, and got_load_len is the length of that instruction. */ int got_state; - CORE_ADDR got_load_addr, got_load_len; + CORE_ADDR got_load_addr = 0, got_load_len = 0; const_pool_state = save_link_state = got_state = varargs_state = 0; frame_pointer_found = 0; -- 2.30.2