[Gluster-devel] Found duplicate branches for 'if' and 'else'

Ruoyu liangry at ucweb.com
Tue Aug 12 02:33:20 UTC 2014


Hi gluster developers,

In the file cli/src/cli-rpc-ops.c, at line 4611, duplicated branches for 
if and else is found. Is it a typo?

4607                 case GF_GSYNC_OPTION_TYPE_STATUS:
4608                         status_detail = dict_get_str_boolean (dict,
4609 "status-detail",
4610 _gf_false);
4611                         if (status_detail)
4612                                 ret = gf_cli_gsync_status_output 
(dict, status_detail);
4613                         else
4614                                 ret = gf_cli_gsync_status_output 
(dict, status_detail);
4615                 break;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140812/527ec61c/attachment.html>


More information about the Gluster-devel mailing list