diff --git a/module-cacheex.c b/module-cacheex.c index 9088aef..0df746a 100755 --- a/module-cacheex.c +++ b/module-cacheex.c @@ -615,7 +615,7 @@ int8_t cacheex_maxhop_lg(struct s_client *cl, ECM_REQUEST *er) * Check if ECM hop count is within reader's configured maxhop limits * Returns 1 if hop is allowed, 0 if hop exceeds limit */ -static int8_t cacheex_check_maxhop(struct s_client *cl, ECM_REQUEST *er) +static int8_t __attribute__((unused)) cacheex_check_maxhop(struct s_client *cl, ECM_REQUEST *er) { // Get the hop count from csp_lastnodes list uint8_t hop = er->csp_lastnodes ? ll_count(er->csp_lastnodes) : 0; diff --git a/oscam-cache.c b/oscam-cache.c index d50f245..f31abda 100755 --- a/oscam-cache.c +++ b/oscam-cache.c @@ -549,7 +549,7 @@ CW_CACHE_SETTING get_cw_cache(ECM_REQUEST *er) return cw_cache_setting; } -static bool cw_cache_check(ECM_REQUEST *er) +static bool __attribute__((unused)) cw_cache_check(ECM_REQUEST *er) { if(cw_cache_init_done) { diff --git a/oscam-config.c b/oscam-config.c index 8fd7c32..2211e8a 100755 --- a/oscam-config.c +++ b/oscam-config.c @@ -796,7 +796,7 @@ int32_t init_fakecws(void) int32_t nr = 0, i, j, idx; uint32_t alloccount[0x100], count[0x100], tmp, max_compares = 0, average_compares = 0; char *token, cw_string[64]; - uint8_t cw[16], wrong_checksum, c, have_fakecw = 0; + uint8_t cw[16], wrong_checksum, __attribute__((unused)) c, have_fakecw = 0; FILE *fp; memset(alloccount, 0, sizeof(count));