]> git.tuebingen.mpg.de Git - paraslash.git/commit
wma_afh: Remove some dead stores.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 21 Apr 2017 18:13:14 +0000 (20:13 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 26 Apr 2017 12:06:45 +0000 (14:06 +0200)
commitb1e7d42b336b4c41faf7767a530b890c22a6e458
tree567304060cda6cdf5581e77c4d58832a2b8004a5
parent869fa1d76e7f88470120552792ca71068b49a747
wma_afh: Remove some dead stores.

scan-build complains with

Value stored to 'orig_title_bytes' is never read

and similar for orig_artist_bytes and orig_comment_bytes. Indeed,
these variables are only referenced in the if clause but not in the
else clause.

This commit makes them local to the if clause and removes the dead
stores in the else clause..
wma_afh.c