1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

few harmless warnings from automated code-checking tools fixed

This commit is contained in:
serg@sergbook.mylan
2005-01-08 21:25:31 +01:00
parent 77bc68f99d
commit 247052fecc
4 changed files with 11 additions and 6 deletions

View File

@ -87,7 +87,8 @@ parse_line(EditLine *el, const char *line)
int argc;
Tokenizer *tok;
tok = tok_init(NULL);
if (!(tok = tok_init(NULL)))
return -1;
tok_line(tok, line, &argc, &argv);
argc = el_parse(el, argc, argv);
tok_end(tok);