[gnome-builder] code-assist: remove some dead code



commit 57c9cf0e3d126b3a22cc575c50f88cfb6ce5ee62
Author: Christian Hergert <christian hergert me>
Date:   Wed Oct 22 20:59:58 2014 -0700

    code-assist: remove some dead code

 src/editor/gb-editor-code-assistant.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/editor/gb-editor-code-assistant.c b/src/editor/gb-editor-code-assistant.c
index 52a232b..04586f6 100644
--- a/src/editor/gb-editor-code-assistant.c
+++ b/src/editor/gb-editor-code-assistant.c
@@ -283,7 +283,6 @@ gb_editor_code_assistant_parse (gpointer user_data)
   GVariant *cursor;
   GVariant *options;
   GFile *location;
-  gchar *data_path = g_get_current_dir (); /* TODO: Get from Git */
   gchar *path;
   gchar *text;
 
@@ -320,7 +319,6 @@ gb_editor_code_assistant_parse (gpointer user_data)
                           gb_editor_code_assistant_parse_cb,
                           g_object_ref (tab));
 
-  g_free (data_path);
   g_free (path);
   g_free (text);
 


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