aboutsummaryrefslogtreecommitdiff
path: root/gdb/auto-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/auto-load.c')
-rw-r--r--gdb/auto-load.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/auto-load.c b/gdb/auto-load.c
index fbc39ce..de64112 100644
--- a/gdb/auto-load.c
+++ b/gdb/auto-load.c
@@ -1012,7 +1012,7 @@ execute_script_contents (struct auto_load_pspace_info *pspace_info,
{
objfile_script_executor_func *executor;
const char *newline, *script_text;
- char *name, *end;
+ char *name;
int is_safe, in_hash_table;
struct cleanup *cleanups;
@@ -1309,7 +1309,6 @@ char auto_load_info_scripts_pattern_nl[] = "";
static void
print_scripts (VEC (loaded_script_ptr) *scripts)
{
- struct ui_out *uiout = current_uiout;
int i;
loaded_script_ptr script;