mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-18 03:52:46 +00:00
[PR #1204] [MERGED] [FIX] GCC warning fixes #1999
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/1204
Author: @kdrag0n
Created: 1/21/2020
Status: ✅ Merged
Merged: 1/24/2020
Merged by: @cfsmp3
Base:
master← Head:gcc-warning-fixes📝 Commits (10+)
b7d4615cea708: Fix missing new line in log messagec98fc88subtype: Remove unused CC_708 type4af09babuild: Disable pointer-sign warning5aaf943splitbysentence: Fix warningsa415544spupng: Fix warningsa0868cewebvtt: Fix missing return warningcb01e51gxf: Fix MIN macro redefinition warning8e1130bdvd: Fix unused variable warningsd6b591fes_functions: Fix unused variable warning083c126dvb: Fix unused variable warning when OCR is disabled📊 Changes
27 files changed (+113 additions, -145 deletions)
View changed files
📝
api/build_api(+1 -1)📝
linux/Makefile.am(+1 -1)📝
linux/build(+1 -1)📝
linux/build-static.sh(+1 -1)📝
linux/build_hardsubx(+1 -1)📝
linux/builddebug(+1 -1)📝
mac/Makefile.am(+1 -1)📝
mac/build.command(+1 -1)📝
src/lib_ccx/CMakeLists.txt(+1 -1)📝
src/lib_ccx/ccx_common_structs.h(+0 -1)📝
src/lib_ccx/ccx_decoders_708.c(+1 -1)📝
src/lib_ccx/ccx_encoders_splitbysentence.c(+73 -74)📝
src/lib_ccx/ccx_encoders_spupng.c(+5 -9)📝
src/lib_ccx/ccx_encoders_webvtt.c(+3 -3)📝
src/lib_ccx/ccx_gxf.c(+0 -1)📝
src/lib_ccx/dvb_subtitle_decoder.c(+1 -2)📝
src/lib_ccx/dvd_subtitle_decoder.c(+3 -5)📝
src/lib_ccx/es_functions.c(+0 -8)📝
src/lib_ccx/general_loop.c(+1 -4)📝
src/lib_ccx/matroska.c(+1 -1)...and 7 more files
📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
This fixes all warnings reported by GCC 9.2.0 in the core CCExtractor code, excluding vendored libraries.
Several actual issues were caught in the process:
These changes make all of the core code build with zero warnings on the latest stable version of GCC at the time of writing, both with and without OCR enabled.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.