summaryrefslogtreecommitdiff
path: root/gdb/cp-name-parser.y
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-05-28 08:49:13 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-05-28 08:49:13 +0000
commit4a72630ae742bf0a42f13e2f38bf4f74dbf4aeb9 (patch)
tree1edbd1ad184f268ec7a039c1c7a0ab746e100fd9 /gdb/cp-name-parser.y
parentc318251408d0185b3a7d00971299f0cd28a3466c (diff)
downloadbinutils-gdb-4a72630ae742bf0a42f13e2f38bf4f74dbf4aeb9.tar.gz
* MAINTAINERS: Change cris-elf state to non-broken.
* cp-name-parser.y (parse_escape): Initialize target_char to zero.
Diffstat (limited to 'gdb/cp-name-parser.y')
-rw-r--r--gdb/cp-name-parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-name-parser.y b/gdb/cp-name-parser.y
index 889ef9193fe..90f0a711d96 100644
--- a/gdb/cp-name-parser.y
+++ b/gdb/cp-name-parser.y
@@ -1440,7 +1440,7 @@ c_parse_backslash (int host_char, int *target_char)
static int
parse_escape (const char **string_ptr)
{
- int target_char;
+ int target_char = 0;
int c = *(*string_ptr)++;
if (c_parse_backslash (c, &target_char))
return target_char;