mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1153] [IMPROVEMENT] Removed redundant check_configuration_file function #1940
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1153
State: closed
Merged: Yes
Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
The
check_configuration_filefunction takes in a dereferencedccx_s_optionsstruct asapi_options, and callsparse_configurationby taking a reference toapi_options. However, the only call tocheck_configuration_fileis made by dereferencing accx_s_optionsstruct, meaningparse_configurationcan be called directly. Hence, there is no use forcheck_configuration_file, meaning it can be safely deleted.