aboutsummaryrefslogtreecommitdiff
path: root/gdb/extension.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/extension.c')
-rw-r--r--gdb/extension.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/extension.c b/gdb/extension.c
index 17268d6..ae24518 100644
--- a/gdb/extension.c
+++ b/gdb/extension.c
@@ -774,8 +774,6 @@ set_active_ext_lang (const struct extension_language_defn *now_active)
void
restore_active_ext_lang (struct active_ext_lang_state *previous)
{
- const struct extension_language_defn *current = active_ext_lang;
-
active_ext_lang = previous->ext_lang;
if (target_terminal_is_ours ())