[gnome-builder] debugger: remove dead code



commit b6b6dc5fdca258f61d5f81a9680548f0fe078ef6
Author: Christian Hergert <chergert redhat com>
Date:   Tue Mar 27 01:33:33 2018 -0700

    debugger: remove dead code

 src/plugins/gdb/gbp-gdb-debugger.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/plugins/gdb/gbp-gdb-debugger.c b/src/plugins/gdb/gbp-gdb-debugger.c
index 900dfec6c..78abcf61e 100644
--- a/src/plugins/gdb/gbp-gdb-debugger.c
+++ b/src/plugins/gdb/gbp-gdb-debugger.c
@@ -2738,7 +2738,6 @@ gbp_gdb_debugger_exec_async (GbpGdbDebugger      *self,
   g_autoptr(IdeTask) task = NULL;
   g_autoptr(GError) error = NULL;
   g_autoptr(GBytes) bytes = NULL;
-  IdeDebuggerThread *selected;
   GOutputStream *stream;
   GString *str;
   guint id;
@@ -2771,8 +2770,6 @@ gbp_gdb_debugger_exec_async (GbpGdbDebugger      *self,
 
   str = g_string_new (NULL);
 
-  selected = ide_debugger_get_selected_thread (IDE_DEBUGGER (self));
-
   /* We might need to switch threads before we execute the command. */
   if (thread != NULL)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]