diff options
| author | Amar Tumballi <amar@gluster.com> | 2011-10-18 10:30:42 +0530 |
|---|---|---|
| committer | gluster-ant <bugzilla-bot@gluster.org> | 2011-10-18 10:30:42 +0530 |
| commit | 56e2b0e47d011973aa005ca48ca2a9216f368fe0 (patch) | |
| tree | 0bd11adef71f3b925dc3c5c1dc6e8893e7784967 /cli/src | |
| parent | c02977a0d9327e9d5674c53cf2c17a96dea39efc (diff) | |
build: warning suppression (round n)
with this patch, there are no more warnings with gcc (GCC) 4.6.1 20110908
Change-Id: Ice0d52d304b9846395f8a4a191c98eb53125f792
BUG: 2550
Reviewed-on: http://review.gluster.com/607
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'cli/src')
| -rw-r--r-- | cli/src/cli-rl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/src/cli-rl.c b/cli/src/cli-rl.c index 80b14620fb..592da7baa7 100644 --- a/cli/src/cli-rl.c +++ b/cli/src/cli-rl.c @@ -89,9 +89,14 @@ cli_rl_process_line (char *line) state->rl_processing = 1; { ret = cli_cmd_process_line (state, line); + if (ret) + gf_log (THIS->name, GF_LOG_WARNING, + "failed to process line"); + add_history (line); } state->rl_processing = 0; + } |
