diff --git a/src/js/quickjs.c b/src/js/quickjs.c index 34036249e..b4b2ab40b 100644 --- a/src/js/quickjs.c +++ b/src/js/quickjs.c @@ -157,8 +157,6 @@ quickjs_init(struct module *module) map_attrs = attr_create_new_attrs_map(); map_attributes = attr_create_new_attributes_map(); map_rev_attributes = attr_create_new_attributes_map_rev(); - map_collections = attr_create_new_collections_map(); - map_rev_collections = attr_create_new_collections_map_rev(); map_doctypes = attr_create_new_doctypes_map(); map_elements = attr_create_new_elements_map(); map_privates = attr_create_new_privates_map_void(); @@ -194,8 +192,6 @@ quickjs_done(struct module *xxx) attr_delete_map(map_attrs); attr_delete_map(map_attributes); attr_delete_map_rev(map_rev_attributes); - attr_delete_map(map_collections); - attr_delete_map_rev(map_rev_collections); attr_delete_map(map_doctypes); attr_delete_map(map_elements); map_elements = NULL; diff --git a/src/js/quickjs/collection.c b/src/js/quickjs/collection.c index 7238749ff..a05231cf2 100644 --- a/src/js/quickjs/collection.c +++ b/src/js/quickjs/collection.c @@ -25,9 +25,6 @@ #define countof(x) (sizeof(x) / sizeof((x)[0])) -void *map_collections; -void *map_rev_collections; - JSClassID js_htmlCollection_class_id; struct js_col { diff --git a/src/js/quickjs/mapa.h b/src/js/quickjs/mapa.h index e8d3780d3..5c339b5ae 100644 --- a/src/js/quickjs/mapa.h +++ b/src/js/quickjs/mapa.h @@ -12,8 +12,6 @@ struct Xhr; extern void *map_attrs; extern void *map_attributes; extern void *map_rev_attributes; -extern void *map_collections; -extern void *map_rev_collections; extern void *map_doctypes; extern void *map_elements; extern void *map_privates;