Skip to content

Commit

Permalink
croco: Remove unused and dodgy function
Browse files Browse the repository at this point in the history
  • Loading branch information
leigh123linux committed Jan 14, 2025
1 parent 52d6af3 commit 84b107e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
14 changes: 0 additions & 14 deletions src/st/croco/cr-selector.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*
Expand Down
3 changes: 0 additions & 3 deletions src/st/croco/cr-selector.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 84b107e

Please sign in to comment.