aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
authorDavid Crosby <dave@dafyddcrosby.com>2015-07-15 14:55:08 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-08-11 12:59:27 +0000
commit7e5b33c30ece6f265593cc442ff5a8579faef8ad (patch)
tree4389d759cd838f9b71528b9848510831774e7674 /terms.c
parentMove fclose to fix dereference after null check (Coverity) (diff)
downloadw3m-7e5b33c30ece6f265593cc442ff5a8579faef8ad.tar.gz
w3m-7e5b33c30ece6f265593cc442ff5a8579faef8ad.zip
Remove dead assignments flagged by Clang static analysis
Diffstat (limited to 'terms.c')
-rw-r--r--terms.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/terms.c b/terms.c
index 2866e1d..3d2ffd7 100644
--- a/terms.c
+++ b/terms.c
@@ -1214,7 +1214,6 @@ addch(char pc)
{
l_prop *pr;
int dest, i;
- short *dirty;
#ifdef USE_M17N
static Str tmp = NULL;
char **p;
@@ -1236,7 +1235,6 @@ addch(char pc)
return;
p = ScreenImage[CurLine]->lineimage;
pr = ScreenImage[CurLine]->lineprop;
- dirty = &ScreenImage[CurLine]->isdirty;
#ifndef USE_M17N
/* Eliminate unprintables according to * iso-8859-*.