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

client/mysql.cc:
  few harmless warnings from automated code-checking tools fixed
  cleanup
This commit is contained in:
unknown
2005-01-08 21:25:31 +01:00
parent 9ad1b390fc
commit 4c8d52aa80
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);