Fixed compiler warnings.

This commit is contained in:
Markus Makela
2015-07-14 17:13:09 +03:00
parent 3992f262ca
commit 78eab19c62
17 changed files with 125 additions and 103 deletions

View File

@ -105,7 +105,6 @@ EditLine *el = NULL;
Tokenizer *tok;
History *hist;
HistEvent ev;
const LineInfo *li;
#else
char buf[1024];
#endif
@ -266,7 +265,7 @@ char c;
buf[i] = 0;
#ifdef HISTORY
li = el_line(el);
el_line(el);
history(hist, &ev, H_ENTER, buf);
#endif