projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce3a06
)
ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
author
Doug Evans
<dje@google.com>
Mon, 18 Aug 2014 17:04:18 +0000
(10:04 -0700)
committer
Doug Evans
<dje@google.com>
Mon, 18 Aug 2014 17:04:18 +0000
(10:04 -0700)
* ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
gdb/ChangeLog
patch
|
blob
|
history
gdb/ada-typeprint.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index c14fd5c4ac8001942ff14f8ea5922482b06f83a6..d8d427f3af8475f0f354716962f968f68b302d91 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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):
diff --git
a/gdb/ada-typeprint.c
b/gdb/ada-typeprint.c
index 57c8d930c030c84f25cca48e8389fb279cb92c75..27bd1d16b960c2ca4813d0db9e77b5914bdfb265 100644
(file)
--- a/
gdb/ada-typeprint.c
+++ b/
gdb/ada-typeprint.c
@@
-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)