mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-18 12:03:00 +00:00
[PR #1153] [MERGED] [IMPROVEMENT] Removed redundant check_configuration_file function #1938
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?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1153
Author: @MarcusGaiusPompey
Created: 12/21/2019
Status: ✅ Merged
Merged: 12/22/2019
Merged by: @cfsmp3
Base:
master← Head:redundant_function📝 Commits (2)
65a0555Removed redundant function71eb8d7Updated changelog📊 Changes
3 files changed (+3 additions, -7 deletions)
View changed files
📝
docs/CHANGES.TXT(+1 -0)📝
src/ccextractor.c(+1 -6)📝
src/ccextractor.h(+1 -1)📄 Description
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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.