mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1155] [FIX] Initialize fatal_ftn before first use #1944
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/1155
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):
In
init_libraries, if the first call tomallocto initialise thelib_ccx_ctxstruct fails,fatal_ftnis called. However, the first definition offatal_ftnoccurs if the call succeeds, meaning thatfatal_ftnis undefined at the first possible call.By initialising the logging functions before any other code is run, meaning that
fatal_ftnshould always be defined when called.