Skip to content

Commit

Permalink
FEC base: clean unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lamphamsy committed Jun 22, 2018
1 parent 69315fe commit f172fa7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/fec_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -925,11 +925,6 @@ bool FecCode<T>::decode_packet(

decode_build();

int n_words = code_len;
if (type == FecType::SYSTEMATIC) {
n_words = n_data;
}

// vector of buffers storing data read from chunk
vec::Buffers<uint8_t> words_char(n_data, buf_size);
std::vector<uint8_t*>* words_mem_char = words_char.get_mem();
Expand Down

0 comments on commit f172fa7

Please sign in to comment.