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
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);