Coverity: CID 610-DEAD CODE 611-UNUSED VALUE
authorNelson Ferreira <nelson.ferreira@ieee.org>
Fri, 24 Feb 2012 21:10:44 +0000 (16:10 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Fri, 24 Feb 2012 21:10:44 +0000 (16:10 -0500)
commit59f1edbca7c01a2c48f08d19e4cbf1cdf8ce5c89
tree9cc81d6ea2764486968460ab63b589d556f8e865
parent9c7003ff693f56a2f0a68917a78a735025fa488c
Coverity: CID 610-DEAD CODE 611-UNUSED VALUE

* lib-src/etags.c (process_file_name): compr was not being used
before anyway so just remove the assignment from the if statement.

* lib-src/etags.c (process_file_name): only make compressed_value
NULL if it was previously not null. But still free it. This means
that after the free we CANNOT dereference it.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
lib-src/etags.c