[gnome-builder] clang: remove dead code



commit a96c64ffdfe608bd668e3221793568762f22a75d
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 11 14:56:38 2018 -0700

    clang: remove dead code

 src/plugins/clang/ide-clang-client.c | 1 -
 src/plugins/clang/ide-clang.c        | 2 --
 2 files changed, 3 deletions(-)
---
diff --git a/src/plugins/clang/ide-clang-client.c b/src/plugins/clang/ide-clang-client.c
index b0bf1d8aa..80f59983a 100644
--- a/src/plugins/clang/ide-clang-client.c
+++ b/src/plugins/clang/ide-clang-client.c
@@ -507,7 +507,6 @@ static void
 ide_clang_client_call_cancelled (GCancellable *cancellable,
                                  Call         *call)
 {
-  g_autoptr(GVariant) params = NULL;
   GVariantDict dict;
 
   g_assert (G_IS_CANCELLABLE (cancellable));
diff --git a/src/plugins/clang/ide-clang.c b/src/plugins/clang/ide-clang.c
index 540308500..f6a1b0df1 100644
--- a/src/plugins/clang/ide-clang.c
+++ b/src/plugins/clang/ide-clang.c
@@ -1309,7 +1309,6 @@ ide_clang_complete_async (IdeClang            *self,
                           gpointer             user_data)
 {
   g_autoptr(IdeTask) task = NULL;
-  g_autofree gchar *parent = NULL;
   Complete *state;
 
   PROBE;
@@ -2179,7 +2178,6 @@ ide_clang_get_index_key_async (IdeClang            *self,
                                gpointer             user_data)
 {
   g_autoptr(IdeTask) task = NULL;
-  g_autofree gchar *parent = NULL;
   GetIndexKey *state;
 
   PROBE;


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