[ros-dev] [ros-diffs] [dgorbachev] 39422: Fix bug #4129 in CmpGetNameControlBlock().

Dmitry Gorbachev d.g.gorbachev at gmail.com
Mon Feb 16 18:47:04 CET 2009


> No, it's just a matter of coding style used in the kernel.

What is a logical basis for adopting this particular rule? Sometimes it is 
not just a matter of preference.

These parentheses are unnecessary for humans, and if they are not needed for 
compilers or some other tools, they are bad! Without them, the bug could be 
noticed earlier.

Cheers,
Dmitry



More information about the Ros-dev mailing list