lib/DtTerm: Remove dead assignments, initializations and increments
This shouldn't change behavior (or even object code) at all because those assignments are all without effect. Removing that code removes noise which helps working with code analysis tools.
This commit is contained in:
committed by
Jon Trulson
parent
a5b5eb0f80
commit
c48ec3adff
@@ -105,7 +105,6 @@ _DtTermPrimScrollWait(Widget w)
|
||||
int i;
|
||||
int exposeY;
|
||||
int exposeHeight;
|
||||
int scrolledLines;
|
||||
|
||||
Debug('s', fprintf(stderr, ">>_DtTermPrimScrollWait() starting\n"));
|
||||
Debug('s', fprintf(stderr,
|
||||
@@ -232,7 +231,6 @@ _DtTermPrimScrollWait(Widget w)
|
||||
exposeHeight));
|
||||
|
||||
/* set scrollLines == 0, or renderText will not render them... */
|
||||
scrolledLines = tpd->scroll.jump.scrollLines;
|
||||
tpd->scroll.jump.scrollLines = 0;
|
||||
/* clear the scrolled flag... */
|
||||
tpd->scroll.jump.scrolled = False;
|
||||
|
||||
Reference in New Issue
Block a user