mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-21 10:02:26 +00:00
ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
* ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
This commit is contained in:
parent
3ce3a066e1
commit
ded4fc8f9c
@ -1,3 +1,7 @@
|
||||
2014-08-18 Doug Evans <dje@google.com>
|
||||
|
||||
* ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
|
||||
|
||||
2014-08-18 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* ada-typeprint.c (type_is_full_subrange_of_target_type):
|
||||
|
@ -160,7 +160,7 @@ print_range (struct type *type, struct ui_file *stream,
|
||||
{
|
||||
struct type *target_type;
|
||||
volatile struct gdb_exception e;
|
||||
LONGEST lo, hi;
|
||||
LONGEST lo = 0, hi = 0; /* init for gcc -Wall */
|
||||
|
||||
target_type = TYPE_TARGET_TYPE (type);
|
||||
if (target_type == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user