Bug 60053 - hb-common.cc:181:6: warning: ‘void free_langs()’ defined but not used
This commit is contained in:
parent
09b5393874
commit
e9171af55c
|
@ -177,7 +177,7 @@ struct hb_language_item_t {
|
||||||
|
|
||||||
static hb_language_item_t *langs;
|
static hb_language_item_t *langs;
|
||||||
|
|
||||||
static
|
static inline
|
||||||
void free_langs (void)
|
void free_langs (void)
|
||||||
{
|
{
|
||||||
while (langs) {
|
while (langs) {
|
||||||
|
|
|
@ -403,7 +403,7 @@ hb_ft_font_create (FT_Face ft_face,
|
||||||
|
|
||||||
static FT_Library ft_library;
|
static FT_Library ft_library;
|
||||||
|
|
||||||
static
|
static inline
|
||||||
void free_ft_library (void)
|
void free_ft_library (void)
|
||||||
{
|
{
|
||||||
FT_Done_FreeType (ft_library);
|
FT_Done_FreeType (ft_library);
|
||||||
|
|
|
@ -202,7 +202,7 @@ hb_feature_to_string (hb_feature_t *feature,
|
||||||
|
|
||||||
static const char **static_shaper_list;
|
static const char **static_shaper_list;
|
||||||
|
|
||||||
static
|
static inline
|
||||||
void free_static_shaper_list (void)
|
void free_static_shaper_list (void)
|
||||||
{
|
{
|
||||||
free (static_shaper_list);
|
free (static_shaper_list);
|
||||||
|
|
|
@ -40,7 +40,7 @@ static const hb_shaper_pair_t all_shapers[] = {
|
||||||
|
|
||||||
static const hb_shaper_pair_t *static_shapers;
|
static const hb_shaper_pair_t *static_shapers;
|
||||||
|
|
||||||
static
|
static inline
|
||||||
void free_static_shapers (void)
|
void free_static_shapers (void)
|
||||||
{
|
{
|
||||||
if (unlikely (static_shapers != all_shapers))
|
if (unlikely (static_shapers != all_shapers))
|
||||||
|
|
Loading…
Reference in New Issue