aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index 4fbe9dd..adff980 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -395,8 +395,6 @@ exec_file_attach (const char *filename, int from_tty)
static void
exec_file_command (const char *args, int from_tty)
{
- char *filename;
-
if (from_tty && target_has_execution
&& !query (_("A program is being debugged already.\n"
"Are you sure you want to change the file? ")))