diff options
Diffstat (limited to 'gdb/charset.c')
-rw-r--r-- | gdb/charset.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/charset.c b/gdb/charset.c index c422056baad..fadd2327646 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -634,7 +634,6 @@ wchar_iterate (struct wchar_iterator *iter, size_t orig_in = iter->bytes; size_t out_avail = out_request * sizeof (gdb_wchar_t); size_t num; - gdb_wchar_t result; size_t r = iconv (iter->desc, (ICONV_CONST char **) &iter->input, &iter->bytes, @@ -814,7 +813,7 @@ find_charset_names (void) /* The size of buf is chosen arbitrarily. */ char buf[1024]; char *start, *r; - int len, keep_going; + int len; r = fgets (buf, sizeof (buf), in); if (!r) @@ -909,8 +908,6 @@ default_auto_wide_charset (void) void _initialize_charset (void) { - struct cmd_list_element *new_cmd; - /* The first element is always "auto". */ VEC_safe_push (char_ptr, charsets, xstrdup ("auto")); find_charset_names (); |