fec/rep3: removing unused variable
@@ -88,7 +88,8 @@ int fec_rep3_decode(fec _q,
unsigned char * _msg_dec)
{
unsigned char s0, s1, s2;
- unsigned int i, num_errors=0;
+ unsigned int i;
+ //unsigned int num_errors=0;
for (i=0; i<_dec_msg_len; i++) {
s0 = _msg_enc[i];
s1 = _msg_enc[i + _dec_msg_len];
@@ -108,7 +109,7 @@ int fec_rep3_decode(fec _q,
_msg_dec[i] = (s0 & s1) | (s0 & s2) | (s1 & s2);
//num_errors += (s0 ^ s1) | (s0 ^ s2) | (s1 ^ s2) ? 1 : 0;
- num_errors += 0;
+ //num_errors += 0;
}
return LIQUID_OK;
}
