mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 14:30:48 +00:00
* utils.c (parse_escape): Initialize target_char to pacify GCC.
This commit is contained in:
parent
82b5c97a79
commit
27e3013dec
@ -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.
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user