[geany/geany] 11ea0e: Remove some dead code

Colomban Wendling git-noreply at xxxxx
Sat Nov 8 18:57:56 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Wed, 22 Oct 2014 13:06:14 UTC
Commit:      11ea0ed637efc299b129aebc3d7ead71303a884f
             https://github.com/geany/geany/commit/11ea0ed637efc299b129aebc3d7ead71303a884f

Log Message:
-----------
Remove some dead code


Modified Paths:
--------------
    tagmanager/src/tm_tag.c
    tagmanager/src/tm_workspace.c

Modified: tagmanager/src/tm_tag.c
1 lines changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -825,7 +825,6 @@ static GPtrArray *merge(GPtrArray *big_array, GPtrArray *small_array) {
 	guint i1 = 0;  /* index to big_array */
 	guint i2 = 0;  /* index to small_array */
 	guint initial_step;
-	initial_step;
 	guint step;
 	GPtrArray *res_array = g_ptr_array_sized_new(big_array->len + small_array->len);
 #ifdef TM_DEBUG


Modified: tagmanager/src/tm_workspace.c
2 lines changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -151,7 +151,6 @@ static TMTagAttrType global_tags_sort_attrs[] =
 */
 gboolean tm_workspace_load_global_tags(const char *tags_file, gint mode)
 {
-	gsize orig_len;
 	guchar buf[BUFSIZ];
 	FILE *fp;
 	GPtrArray *file_tags, *new_tags;
@@ -164,7 +163,6 @@ gboolean tm_workspace_load_global_tags(const char *tags_file, gint mode)
 		return FALSE;
 	if (NULL == theWorkspace->global_tags)
 		theWorkspace->global_tags = g_ptr_array_new();
-	orig_len = theWorkspace->global_tags->len;
 	if ((NULL == fgets((gchar*) buf, BUFSIZ, fp)) || ('\0' == *buf))
 	{
 		fclose(fp);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list