Commit f35e98e4 authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

Remove unused variables.

parent a041a344
......@@ -211,7 +211,6 @@ static inline bool tlv_append_data(uint8_t *p_tlv, uint16_t i_type,
const uint8_t *p_data, uint16_t i_length)
{
uint8_t *p_tlv_n = tlv_find_param(p_tlv, TLV_PARAM_EMPTY, 0);
int i;
if (!tlv_validate_param(p_tlv, p_tlv_n,
i_length + TLV_PARAM_EMPTY_SIZE))
return false;
......
......@@ -1034,7 +1034,6 @@ static inline bool cat_validate(const uint8_t *p_cat)
{
uint16_t i_section_size = psi_get_length(p_cat) + PSI_HEADER_SIZE
- PSI_CRC_SIZE;
const uint8_t *p_cat_n;
if (!psi_get_syntax(p_cat) || psi_get_section(p_cat)
|| psi_get_lastsection(p_cat)
......@@ -1058,7 +1057,6 @@ static inline bool cat_table_validate(uint8_t **pp_sections)
for (i = 0; i <= i_last_section; i++) {
uint8_t *p_section = psi_table_get_section(pp_sections, i);
int j = 0;
if (!psi_check_crc(p_section))
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment