]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Prevent use of 'int' data type & 'ii', 'jj', 'kk' var names for loops
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 8 Jul 2013 14:17:29 +0000 (15:17 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 10 Jul 2013 16:55:17 +0000 (17:55 +0100)
commit9ec23a6663e5df7df41d9652e7db338f39d586f5
tree3568a17a2f0d15fba854fcc44162c534701a2639
parent75825494c729a7ce0687ed1602a332c179f7505a
Prevent use of 'int' data type & 'ii', 'jj', 'kk' var names for loops

Add two syntax-check rules

 - sc_prohibit_int_ijk - block use of 'int' as a data type
   for any variables named 'i', 'j', 'k'
 - sc_prohibit_int_iijjkk - block use of 'ii', 'jj', 'kk'
   for any variable names
cfg.mk