mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-18 20:12:50 +00:00
[PR #1914] [FIX] Resolve unused variable warnings in ts_tables_epg.c #2712
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/1914
State: closed
Merged: Yes
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
---### Description
This PR fixes compiler warnings in
src/lib_ccx/ts_tables_epg.crelated to unused variables.The Issue:
The variables
modeandcompression_typewere declared and assigned values from theoffsetarray, but they were never subsequently used in the logic block (lines 98-105). This triggered-Wunused-but-set-variablewarnings during the build.The Fix:
modeandcompression_type.offset += 3;pointer arithmetic to ensure the parsing logic remains correct.Environment: