From 9ca68149337f49135c849b6c5dc85a541f30ae5a Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 13 Sep 2018 15:39:40 -0400 Subject: Avoid uninitialized x in uiRead --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.c b/ui.c index 54f0492..12f7dc7 100644 --- a/ui.c +++ b/ui.c @@ -502,7 +502,7 @@ void uiRead(void) { formatReset(&format); wmove(ui.input, 0, 0); - int _, x; + int _, x = 0; while (formatParse(&format, editTail())) { if (format.split) getyx(ui.input, _, x); addFormat(ui.input, &format); -- cgit 1.4.1 ffcb1dd6a87274734e962'/> web frontend for git
about summary refs log tree commit diff
path: root/cgit.mk (unfollow)
Commit message (Expand)Author
2014-01-16auth: add basic authentication filter frameworkJason A. Donenfeld
2014-01-16t0111: Additions and fixesLukas Fleischer
2014-01-16parsing.c: Remove leading space from committerLukas Fleischer