summaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-05-06 18:07:07 +0000
committerMichael Snyder <msnyder@specifix.com>2010-05-06 18:07:07 +0000
commit7fea93046a38fb0dddb7678a8bffffb2408f7bb6 (patch)
treebb4bcedff7657a228635f0de93b7827425f8bccd /gdb/source.c
parentb0ea2882e8daedfe09999e3996c69f376a90975b (diff)
downloadgdb-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/source.c')
-rw-r--r--gdb/source.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 47caa1487e4..210a0e0c4f3 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -176,8 +176,6 @@ get_current_source_symtab_and_line (void)
void
set_default_source_symtab_and_line (void)
{
- struct symtab_and_line cursal;
-
if (!have_full_symbols () && !have_partial_symbols ())
error (_("No symbol table is loaded. Use the \"file\" command."));
@@ -1874,7 +1872,6 @@ unset_substitute_path_command (char *args, int from_tty)
static void
set_substitute_path_command (char *args, int from_tty)
{
- char *from_path, *to_path;
char **argv;
struct substitute_path_rule *rule;