Remove some dead code

This commit is contained in:
Colomban Wendling 2014-10-22 15:06:14 +02:00
parent a671c1e26d
commit 11ea0ed637
2 changed files with 0 additions and 3 deletions

View File

@ -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

View File

@ -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);