diff options
author | Eli Zaretskii <eliz@gnu.org> | 2009-04-15 20:40:51 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2009-04-15 20:40:51 +0000 |
commit | 27e3013dec60479105b8c69995b41e909e09d252 (patch) | |
tree | 712d03ca24e572800f05367b01b3b37db75efe75 /gdb/utils.c | |
parent | 82b5c97a793698d0b27480bbfbf7f56f9dfe741a (diff) | |
download | gdb-27e3013dec60479105b8c69995b41e909e09d252.zip gdb-27e3013dec60479105b8c69995b41e909e09d252.tar.gz gdb-27e3013dec60479105b8c69995b41e909e09d252.tar.bz2 |
* utils.c (parse_escape): Initialize target_char to pacify GCC.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 5338868..57f267a 100644 --- 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) { |