cleanup. Remove lines with values stored to variables never used
Summary: as found with clang static analysis tool. Reviewers: billiob, raster Differential Revision: https://phab.enlightenment.org/D1207
This commit is contained in:
parent
96b43d79dd
commit
54280b97f6
|
@ -1127,7 +1127,6 @@ _handle_esc_xterm(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
|
|||
// XXX: set palette entry. not supported.
|
||||
DBG("set palette, not supported");
|
||||
if ((cc - c) < 3) return 0;
|
||||
b = &(buf[2]);
|
||||
break;
|
||||
default:
|
||||
// many others
|
||||
|
|
|
@ -137,7 +137,6 @@ _termpty_text_scroll_rev(Termpty *ty, Eina_Bool clear)
|
|||
cells2 = &(TERMPTY_SCREEN(ty, 0, y));
|
||||
termpty_cell_copy(ty, cells, cells2, ty->w);
|
||||
}
|
||||
y = start_y;
|
||||
if (clear)
|
||||
_text_clear(ty, cells, ty->w, 0, EINA_TRUE);
|
||||
}
|
||||
|
|
|
@ -218,7 +218,6 @@ _save_comp(Termsave *ts)
|
|||
}
|
||||
else
|
||||
{
|
||||
ts2 = ts;
|
||||
tsc = (Termsavecomp *)ts;
|
||||
ts2 = _mem_new(sizeof(Termsavecomp) + tsc->w);
|
||||
if (!ts2)
|
||||
|
|
Loading…
Reference in New Issue