#1919: Removal of dead functions in src/packfile/api.c
--------------------+-------------------------------------------------------
Reporter: rfw | Type: deprecation
Status: new | Priority: normal
Milestone: | Component: none
Version: 2.10.0 | Severity: medium
Keywords: | Lang:
Patch: | Platform:
--------------------+-------------------------------------------------------
whiteknight proposes that the following functions are dead:
{{{
Parrot_switch_to_cs_by_nr
PackFile_Segment_new
PackFile_remove_segment_by_name
PackFile_Annotations_dump
}}}
From my testing, it would seem that `Parrot_switch_to_cs_by_nr` and
`PackFile_remove_segment_by_name` are okay to be nuked simply by removing
the entire function.
For `PackFile_Segment_new`, the declaration should be replaced with
`(PackFile_Segment_new_func_t) NULLfunc` in `pf_register_standard_funcs`,
and `PackFile_Annotations_dump` with `default_dump`.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1919>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets