[cairo-commit] src/cairo-cff-subset.c

Carl Worth cworth at kemper.freedesktop.org
Tue Feb 6 18:29:14 PST 2007


 src/cairo-cff-subset.c |   14 --------------
 1 files changed, 14 deletions(-)

New commits:
diff-tree db3493bef7dba1e960f59563925fd9c5e75cb4ca (from 89cf8dbf522ce7ada0ee4cf9ea016ac2a89c8a75)
Author: Carl Worth <cworth at cworth.org>
Date:   Tue Feb 6 18:28:44 2007 -0800

    Remove dead cff_dict_remove function
    
    I assume this was just a leftover that was meant to be removed
    earlier. If not, please feel free to bring it back again.

diff --git a/src/cairo-cff-subset.c b/src/cairo-cff-subset.c
index c65328e..b02983a 100644
--- a/src/cairo-cff-subset.c
+++ b/src/cairo-cff-subset.c
@@ -515,20 +515,6 @@ fail:
     return status;
 }
 
-static void
-cff_dict_remove (cairo_hash_table_t *dict, unsigned short operator)
-{
-    cff_dict_operator_t key, *op;
-
-    _cairo_dict_init_key (&key, operator);
-    if (_cairo_hash_table_lookup (dict, &key.base,
-                                  (cairo_hash_entry_t **) &op))
-    {
-        free (op->operand);
-        _cairo_hash_table_remove (dict, (cairo_hash_entry_t *) op);
-    }
-}
-
 static unsigned char *
 cff_dict_get_operands (cairo_hash_table_t *dict,
                        unsigned short      operator,


More information about the cairo-commit mailing list