mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
croco: Remove unused and dodgy function
The function creates a parser object that is never used nor freed, then always returns NULL. Luckily it's unused, so just remove it. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3321>
This commit is contained in:
parent
9cafdb6d27
commit
3220005eea
2 changed files with 0 additions and 17 deletions
|
|
@ -50,20 +50,6 @@ cr_selector_new (CRSimpleSel * a_simple_sel)
|
|||
return result;
|
||||
}
|
||||
|
||||
CRSelector *
|
||||
cr_selector_parse_from_buf (const guchar * a_char_buf, enum CREncoding a_enc)
|
||||
{
|
||||
CRParser *parser = NULL;
|
||||
|
||||
g_return_val_if_fail (a_char_buf, NULL);
|
||||
|
||||
parser = cr_parser_new_from_buf ((guchar*)a_char_buf, strlen ((const char *) a_char_buf),
|
||||
a_enc, FALSE);
|
||||
g_return_val_if_fail (parser, NULL);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* cr_selector_append:
|
||||
*
|
||||
|
|
|
|||
|
|
@ -70,9 +70,6 @@ struct _CRSelector
|
|||
|
||||
CRSelector* cr_selector_new (CRSimpleSel *a_sel_expr) ;
|
||||
|
||||
CRSelector * cr_selector_parse_from_buf (const guchar * a_char_buf,
|
||||
enum CREncoding a_enc) ;
|
||||
|
||||
CRSelector* cr_selector_append (CRSelector *a_this, CRSelector *a_new) ;
|
||||
|
||||
CRSelector* cr_selector_append_simple_sel (CRSelector *a_this,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue