[gnome-builder] ide-clang-completion-item: remove dead code



commit 0d9ffd172706afe1d3b5a947f9cdf5cc1b396d68
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Sun Mar 13 23:00:26 2016 +0100

    ide-clang-completion-item: remove dead code

 plugins/clang/ide-clang-completion-item.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/plugins/clang/ide-clang-completion-item.c b/plugins/clang/ide-clang-completion-item.c
index 8d563a9..ca9608c 100644
--- a/plugins/clang/ide-clang-completion-item.c
+++ b/plugins/clang/ide-clang-completion-item.c
@@ -218,18 +218,12 @@ ide_clang_completion_item_create_snippet (IdeClangCompletionItem *self)
       enum CXCompletionChunkKind kind;
       IdeSourceSnippetChunk *chunk;
       const gchar *text;
-      g_autofree gchar *escaped = NULL;
       CXString cxstr;
 
       kind = clang_getCompletionChunkKind (result->CompletionString, i);
       cxstr = clang_getCompletionChunkText (result->CompletionString, i);
       text = clang_getCString (cxstr);
 
-      if (text)
-        escaped = g_markup_escape_text (text, -1);
-      else
-        escaped = g_strdup ("");
-
       switch (kind)
         {
         case CXCompletionChunk_TypedText:


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