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:
82b5c97
)
* utils.c (parse_escape): Initialize target_char to pacify GCC.
author
Eli Zaretskii
<eliz@gnu.org>
Wed, 15 Apr 2009 20:40:51 +0000
(20:40 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 15 Apr 2009 20:40:51 +0000
(20:40 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/utils.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index f721d4a8376d5aa4c23532ce31bdadff8d3f67e2..480bf5a896819c3616387807832aa6194ebed151 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,7
@@
+2009-04-15 Eli Zaretskii <eliz@gnu.org>
+
+ * utils.c (parse_escape): Initialize target_char to pacify GCC.
+
2009-04-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* c-lang.c (c_get_string): Fix xfree crash on a failed string read.
diff --git
a/gdb/utils.c
b/gdb/utils.c
index 53388683889fe55f256414b6ec3c6fc1cd134463..57f267abfb4fe63a9ce158bb8aade3a6a0badb78 100644
(file)
--- a/
gdb/utils.c
+++ b/
gdb/utils.c
@@
-1618,7
+1618,7
@@
host_char_to_target (int c, int *target_c)
int
parse_escape (char **string_ptr)
{
- int target_char
;
+ int target_char
= -2; /* initialize to avoid GCC warnings */
int c = *(*string_ptr)++;
switch (c)
{