diff options
author | unknown <serg@sergbook.mylan> | 2005-01-08 21:25:31 +0100 |
---|---|---|
committer | unknown <serg@sergbook.mylan> | 2005-01-08 21:25:31 +0100 |
commit | f13aca539f2bc6d612555ace4359416eaa8e0e2c (patch) | |
tree | 2b9317949d667f9113933b7fd154a10693b5c05c /cmd-line-utils | |
parent | 5fcd7b7d1103802de33ee9efeb94f95ae644ddc7 (diff) | |
download | mariadb-git-f13aca539f2bc6d612555ace4359416eaa8e0e2c.tar.gz |
few harmless warnings from automated code-checking tools fixed
client/mysql.cc:
few harmless warnings from automated code-checking tools fixed
cleanup
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/libedit/parse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-line-utils/libedit/parse.c b/cmd-line-utils/libedit/parse.c index b113353d464..d09b890c1ab 100644 --- a/cmd-line-utils/libedit/parse.c +++ b/cmd-line-utils/libedit/parse.c @@ -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); |