aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-dump.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-05 21:32:56 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-05 21:32:56 +0000
commitd36fc00bca2fb29ea34f8879ea68e0aee3b26d7d (patch)
tree446ae703db650502ff9442c71a2a44fb5f4ef5d0 /gdb/cli/cli-dump.c
parent9128a5038636399af323891c0ab2d3931f24e33f (diff)
downloadgdb-d36fc00bca2fb29ea34f8879ea68e0aee3b26d7d.zip
gdb-d36fc00bca2fb29ea34f8879ea68e0aee3b26d7d.tar.gz
gdb-d36fc00bca2fb29ea34f8879ea68e0aee3b26d7d.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* cli-dump.c (dump_memory_to_file): Delete unused variable. (restore_binary_file): Delete unused variable. * cli-decode.c (deprecated_cmd_warning): Delete unused variables. * cli-script.c (define_command): Delete unused variables. (recurse_read_control_structure): Delete unused variable. (script_from_file): Delete unused variable. * cli-cmds.c (complete_command): Delete unused variable. (disassemble_command): Delete unused variable.
Diffstat (limited to 'gdb/cli/cli-dump.c')
-rw-r--r--gdb/cli/cli-dump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index bce42f3..fabca56 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -223,7 +223,6 @@ dump_memory_to_file (char *cmd, char *mode, char *file_format)
void *buf;
char *lo_exp;
char *hi_exp;
- int len;
/* Open the file. */
filename = scan_filename_with_cleanup (&cmd, NULL);
@@ -513,7 +512,6 @@ static void
restore_binary_file (char *filename, struct callback_data *data)
{
FILE *file = fopen_with_cleanup (filename, FOPEN_RB);
- int status;
gdb_byte *buf;
long len;