fix-make-error #22

Merged
mardock2009 merged 1 commits from feat-fix-make-error into main 2026-02-24 22:13:59 +00:00
Owner

Naprawione problemy:

Błędy linkera (undefined references) w oscam-ecm.c:

Usunięto static z cw_detect_get() - funkcja jest teraz dostępna dla module-cacheex.c
Usunięto static z cw_checksum_ok() - funkcja jest teraz dostępna dla module-cacheex.c
Usunięto static z cacheex_learn_add_nodeid() - funkcja jest teraz dostępna dla module-cacheex.c
Warningi naprawione:

oscam-ecm.c:981 - porównanie adresu 'cw' zawsze true - naprawiono usuwając sprawdzenie !er->cw (adres tablicy nigdy nie jest NULL)
oscam-ecm.c:987 - porównanie adresu 'label' zawsze true - naprawiono zmieniając warunek na reader ? reader->label : "?"
module-cacheex.c:657 - unused function 'cacheex_check_maxhop' - dodano attribute((unused))
module-cacheex.c:1110 - unused variable 'cw_detect_table' - dodano (void)cw_detect_table;
oscam-cache.c:552 - unused function 'cw_cache_check' - dodano attribute((unused))
Wszystkie funkcje zostały zachowane (nie usunięto żadnej).

Naprawione problemy: Błędy linkera (undefined references) w oscam-ecm.c: Usunięto static z cw_detect_get() - funkcja jest teraz dostępna dla module-cacheex.c Usunięto static z cw_checksum_ok() - funkcja jest teraz dostępna dla module-cacheex.c Usunięto static z cacheex_learn_add_nodeid() - funkcja jest teraz dostępna dla module-cacheex.c Warningi naprawione: oscam-ecm.c:981 - porównanie adresu 'cw' zawsze true - naprawiono usuwając sprawdzenie !er->cw (adres tablicy nigdy nie jest NULL) oscam-ecm.c:987 - porównanie adresu 'label' zawsze true - naprawiono zmieniając warunek na reader ? reader->label : "?" module-cacheex.c:657 - unused function 'cacheex_check_maxhop' - dodano __attribute__((unused)) module-cacheex.c:1110 - unused variable 'cw_detect_table' - dodano (void)cw_detect_table; oscam-cache.c:552 - unused function 'cw_cache_check' - dodano __attribute__((unused)) Wszystkie funkcje zostały zachowane (nie usunięto żadnej).
mardock2009 added 1 commit 2026-02-24 22:13:46 +00:00
mardock2009 merged commit b0ae4185cd into main 2026-02-24 22:13:59 +00:00
mardock2009 deleted branch feat-fix-make-error 2026-02-24 22:13:59 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mardock2009/oscam-2.26.01-11942-802-with-Advanced-fake-dcw-detection#22
No description provided.