[Github-comments] [geany/geany] TM cleanups (#957)

Colomban Wendling notifications at xxxxx
Tue May 3 21:37:52 UTC 2016


> +	if ((attrs & tm_tag_attr_access_t) && (TAG_ACCESS_UNKNOWN != tag->access))
> +		fprintf(fp, "%c%c", TA_ACCESS, tag->access);
> +	if ((attrs & tm_tag_attr_impl_t) && (TAG_IMPL_UNKNOWN != tag->impl))
> +		fprintf(fp, "%c%c", TA_IMPL, tag->impl);
> +
> +	if (fprintf(fp, "\n"))
> +		return TRUE;
> +	else
> +		return FALSE;
> +}
> +
> +GPtrArray *tm_source_file_read_tags_file(const gchar *tags_file, TMParserType mode)
> +{
> +	guchar buf[BUFSIZ];
> +	FILE *fp;
> +	GPtrArray *file_tags, *new_tags;

```gcc
../../../tagmanager/src/tm_source_file.c: In function 'tm_source_file_read_tags_file':
../../../tagmanager/src/tm_source_file.c:527:25: warning: unused variable 'new_tags' [-Wunused-variable]
  GPtrArray *file_tags, *new_tags;
                         ^
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/957/files/5d9376ea801a6e6c3ec22748741362a3a2eff7ac#r61960771
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160503/5b8436c7/attachment.html>


More information about the Github-comments mailing list