diff options
author | Sanju Rakonde <srakonde@redhat.com> | 2018-09-23 16:42:54 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-10-01 08:02:27 +0000 |
commit | f054b511057ada37790bfb518c70d6631ed11d93 (patch) | |
tree | 742e05b9273bcc6b920a5aa7cabdf5542580e13d /.testignore | |
parent | 1c0facf59a85b1256a52e7a99b30743283a4c9cf (diff) |
cli: handle negative scenarios
When control flow reaches negative case code block, we added
"goto out" statement without assigning ret to -1.
This patch assigns return value to -1, before going to the lable "out".
Change-Id: I6db651a3c9ca285ade9ee1ca23d0abe6b36fda3a
updates: bz#1193929
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to '.testignore')
0 files changed, 0 insertions, 0 deletions