Re: [Qemu-devel] [PATCH] CHECKPATCH: Add warning for single else statement.

2012-09-02 Thread Blue Swirl
On Sat, Sep 1, 2012 at 3:57 PM, Don Slutz d...@cloudswitch.com wrote: Also add more debug options to find this issue. They were not listed in the help because the are not simple to understand the output of. These should form another patch, now it's not easy to see what was the fix for 'else'.

[Qemu-devel] [PATCH] CHECKPATCH: Add warning for single else statement.

2012-09-01 Thread Don Slutz
Also add more debug options to find this issue. They were not listed in the help because the are not simple to understand the output of. For an example: WARNING: braces {} are necessary even for single statement blocks +} else +return env-regs[R_EAX]; total: 0 errors, 1 warnings,