Page MenuHomePhabricator

Warning due to missing silencer generated by eolian for src/lib/efl/interface/efl_text_markup.eo
Closed, ResolvedPublic

Description

In the generated .eo file we get :

static void
_efl_text_markup_range_set_ownership_fallback(Efl_Text_Cursor_Cursor *start, Efl_Text_Cursor_Cursor *end, char *markup)
{
   free(markup);
}

Looking quickly at the code of eolian, I would think the intend would be to generate (void)start; and (void)end; in that function, but it doesn't do that. I think it would be better to silence those warning properly if they should be or fix the .eo.

cedric created this task.Fri, Jan 4, 6:48 PM
cedric triaged this task as Normal priority.
bu5hm4n added a subscriber: bu5hm4n.Sat, Jan 5, 4:07 AM

Should keys be ownable ? (I think not, doing so would somehow defeat the purpose of a key)

If not - then we can simply (void) the keys :)

bu5hm4n added a project: Restricted Project.Tue, Jan 15, 5:44 AM