dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 21ff403c4ade3884dc84130bc26d01be36dcd8bd
parent 0b7265cc6fcde79200628aa0c97d716302b9a4a5
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed,  8 Oct 2014 15:14:40 +0200

Fix static analyzer warning

Diffstat:
vt.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vt.c b/vt.c @@ -1696,7 +1696,7 @@ void vt_keypress(Vt *t, int keycode) static Row *buffer_next_row(Buffer *t, Row *row, int direction) { bool has_scroll_buf = t->scroll_buf_size > 0; - Row *before_start_row, *before_end_row, *after_start_row, *after_end_row; + Row *before_start_row = NULL, *before_end_row = NULL, *after_start_row = NULL, *after_end_row = NULL; Row *first_row = t->lines; Row *last_row = t->lines + t->rows - 1;