summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2017-11-06 22:06:46 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2017-11-08 15:39:12 +0000
commit32d67a77c5d0b117659ffec2fff75717f9770568 (patch)
tree67136e2c0c4392037a95bbda1a248382d785303b /cli/src
parent63eb488298d48059a746384110f3d9a11d0aaa71 (diff)
cli: Fix coverity issues in cli.c
This patch fixes coverity issue 536 BUG: 789278 Change-Id: I9fe7b324a3ab1f16b4ee4e63818f93ef71d3405a Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Diffstat (limited to 'cli/src')
-rw-r--r--cli/src/cli.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 050c8384e01..2c3c06b507b 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -509,7 +509,6 @@ int
cli_usage_out (const char *usage)
{
GF_ASSERT (usage);
- GF_ASSERT (usage[0] != '\0');
if (!usage || usage[0] == '\0')
return -1;