No big deal because behaviour is unchanged (abort). Calling assert()
is a bit shorter and will print a better error message.
j = (code << (table_nb_bits - n)) & (table_size - 1);
nb = 1 << (table_nb_bits - n);
for (k = 0; k < nb; k++) {
- if (table[j][1] /* bits */ != 0) {
- PARA_EMERG_LOG("incorrect code\n");
- exit(EXIT_FAILURE);
- }
+ assert(table[j][1] == 0); /* incorrect code */
table[j][1] = n; /* bits */
table[j][0] = i;
j++;