diff options
author | Michael Snyder <msnyder@specifix.com> | 2010-05-06 18:07:07 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2010-05-06 18:07:07 +0000 |
commit | 7fea93046a38fb0dddb7678a8bffffb2408f7bb6 (patch) | |
tree | bb4bcedff7657a228635f0de93b7827425f8bccd /gdb/charset.c | |
parent | b0ea2882e8daedfe09999e3996c69f376a90975b (diff) | |
download | gdb-7fea93046a38fb0dddb7678a8bffffb2408f7bb6.tar.gz |
2010-05-06 Michael Snyder <msnyder@vmware.com>
* auxv.c (target_auxv_search): Delete unused variable.
* blockframe.c (get_frame_block): Delete unused variable.
* regcache.c (regcache_cpy): Delete unused variable.
(regcache_cpy_no_passthrough): Delete unused variable.
* charset.c (wchar_iterate): Delete unused variable.
(find_charset_names): Delete unused variable.
(_initialize_charset): Delete unused variable.
* disasm.c (do_mixed_source_and_assembly):
Delete unused variable.
* source.c (set_default_source_symtab_and_line):
Delete unused variable.
(set_substitute_path_command): Delete unused variable.
* value.c (preserve_values): Delete unused variable.
(value_from_double): Delete unused variable.
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 (); |