diff options
author | Paul Fox <pgf@brightstareng.com> | 2005-09-16 16:48:18 +0400 |
---|---|---|
committer | Paul Fox <pgf@brightstareng.com> | 2005-09-16 16:48:18 +0400 |
commit | c350485b18b95954496e12161a87ee016f2bbb81 (patch) | |
tree | 30fdc38482e1dbbf280424c1d44cb607067ab704 /editors | |
parent | 2b306e906f6ba9fe990365a0faa00140d7f4dbe1 (diff) |
initialize a couple of vars whose warnings were suppressed because
i was building w/ debug on before, which suppresses optimization.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index ae86b7233..76e4d6684 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -2674,7 +2674,7 @@ static int bufsum(char *buf, int count) //----- Draw the status line at bottom of the screen ------------- static void show_status_line(void) { - int cnt, cksum; + int cnt = 0, cksum = 0; // either we already have an error or status message, or we // create one. |