Found duplicate branches for 'if' and 'else'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux