From 4b77c3d5cb0f0e9f70752bbd48759abcaeb31c3b Mon Sep 17 00:00:00 2001 From: bust3d Date: Sun, 31 Mar 2024 08:27:22 +0000 Subject: [PATCH] - fix compile warnings for unused variables (thanks to gabberhead for reporting and WXbet for patch) git-svn-id: https://svn.streamboard.tv/oscam/trunk@11759 4b0bc96b-bc66-0410-9d44-ebda105a78c1 --- module-webif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module-webif.c b/module-webif.c index 9fad9a4b..d10e4e04 100644 --- a/module-webif.c +++ b/module-webif.c @@ -2374,7 +2374,7 @@ static char *send_oscam_reader(struct templatevars *vars, struct uriparams *para static char *send_oscam_reader_config(struct templatevars *vars, struct uriparams *params) { - int32_t i, j; + int32_t i; int32_t apicall = 0; char *reader_ = getParam(params, "label"); char *value; @@ -2736,6 +2736,8 @@ static char *send_oscam_reader_config(struct templatevars *vars, struct uriparam #endif #ifdef READER_NAGRA_MERLIN + int32_t j; + // idird (CAK7) for(i = 0; i < rdr->idird_length; i++) { tpl_printf(vars, TPLAPPEND, "IDIRD", "%02X", rdr->idird[i]); } -- 2.11.4.GIT