summaryrefslogtreecommitdiffstats
path: root/libass/ass.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2015-06-07 21:48:36 +0200
committerGrigori Goronzy <greg@chown.ath.cx>2015-06-07 22:35:11 +0200
commitb1680ade5f3aec40562830cdb40156aa34536fdb (patch)
tree4c164ce2f3f18af8655909cfc42c54f8136fe11e /libass/ass.c
parent30004491d2dc3ab84520333b1e13c82a99aa081f (diff)
downloadlibass-b1680ade5f3aec40562830cdb40156aa34536fdb.tar.bz2
libass-b1680ade5f3aec40562830cdb40156aa34536fdb.tar.xz
Remove several dead stores
Reported by clang scan-build static analysis.
Diffstat (limited to 'libass/ass.c')
-rw-r--r--libass/ass.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libass/ass.c b/libass/ass.c
index 6e9f2fe..69dec8d 100644
--- a/libass/ass.c
+++ b/libass/ass.c
@@ -1018,7 +1018,6 @@ static char *sub_recode(ASS_Library *library, char *data, size_t size,
out:
if (icdsc != (iconv_t) (-1)) {
(void) iconv_close(icdsc);
- icdsc = (iconv_t) (-1);
ass_msg(library, MSGL_V, "Closed iconv descriptor");
}