Remove some dead code
This commit is contained in:
parent
a671c1e26d
commit
11ea0ed637
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user