|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] CODING_STYLE: update line length and mixed declaration rules |
Date: | Fri, 19 Jun 2015 09:55:03 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 19/06/2015 09:53, Thomas Huth wrote: > > - WARN("line over 80 characters\n" . $herecurr); > > + if ($length > 90) { > > + ERROR("line over 90 characters\n" . $herecurr); > > + } if ($length > 80) { > > Did you mean to use "elsif" here instead (because you've put the if on > the same line as the "}")? Yes, and this patch was really meant as little more than RFC. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |