diff --git a/tagmanager/src/tm_tag.c b/tagmanager/src/tm_tag.c index 1096b784..6aa68dc3 100644 --- a/tagmanager/src/tm_tag.c +++ b/tagmanager/src/tm_tag.c @@ -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 diff --git a/tagmanager/src/tm_workspace.c b/tagmanager/src/tm_workspace.c index acc6f816..8cb7a20c 100644 --- a/tagmanager/src/tm_workspace.c +++ b/tagmanager/src/tm_workspace.c @@ -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);