Ticket #1919 (closed deprecation: fixed)
Removal of dead functions in src/packfile/api.c
Reported by: | rfw | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | 2.10.0 |
Severity: | medium | Keywords: | gci |
Cc: | cotto | Language: | |
Patch status: | Platform: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.