Re: if/else coding style :-)

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

 



On Monday 13 October 2014 05:31 PM, Pranith Kumar Karampuri wrote:
hi,
     Why are we moving away from this coding style?:
if (x) {
/*code*/
} else {
/* code */
}

Pranith

For me the script that checks the coding style (checkpatch.pl - which is present in the extras directory within the glusterfs repo) gave the above style as an error when I executed rfc.sh for submitting the patch. And the patch will not be submitted to gerrit if errors are reported by the script.


Regards,
Raghavendra Bhat

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

_______________________________________________
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