fix if's that are followed by semicolons
Andreas Mohr
andi at rhlx01.fht-esslingen.de
Tue Sep 20 03:01:19 CDT 2005
Hi,
On Tue, Sep 20, 2005 at 04:49:49PM +0900, Mike McCormack wrote:
>
> Found with:
>
> find . -name \*.c -exec grep "if *([^)]*)\; *" {} \; -ls
Could you perhaps create a first version of a shell script tools/find_gotchas ?
We really need to make sure all those many things similar to this get fixed
on an ongoing basis.
Other gotchas could be
if (a = b) (not easily identifiable since it might be legitimate, though)
HFILE x = 0; (instead of INVALID_HANDLE or so)
Andreas Mohr
--
No programming skills!? Why not help translate many Linux applications!
https://launchpad.ubuntu.com/rosetta
More information about the wine-devel
mailing list