From 4c8d52aa80ce2a2131783bc2df5b02f21baa1c96 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 8 Jan 2005 21:25:31 +0100 Subject: few harmless warnings from automated code-checking tools fixed client/mysql.cc: few harmless warnings from automated code-checking tools fixed cleanup --- cmd-line-utils/libedit/parse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd-line-utils') 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); -- cgit v1.2.1