> +     FILE *fp;
> +
> +     g_return_val_if_fail(tags_array && tags_file, FALSE);
> +
> +     fp = g_fopen(tags_file, "w");
> +     if (!fp)
> +             return FALSE;
> +
> +     fprintf(fp, "# format=tagmanager\n");
> +     for (i = 0; i < tags_array->len; i++)
> +     {
> +             TMTag *tag = TM_TAG(tags_array->pdata[i]);
> +
> +             write_tag(tag, fp, tm_tag_attr_type_t
> +               | tm_tag_attr_scope_t | tm_tag_attr_arglist_t | 
> tm_tag_attr_vartype_t
> +               | tm_tag_attr_pointer_t);

unrelated, but `write_tag()` return value should be handled

---
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/4dcc829e724a9018f92a8ef5201c2c0f257eeaa7..103d2c535862ae2682022dcfd714c2ffd983c42f#r61928355

Reply via email to