[systemd-devel] [systemd-commits] 2 commits - src/core src/journal-remote src/network

Matthias Urlichs matthias at urlichs.de
Fri Dec 12 23:32:23 PST 2014


Zbigniew Jędrzejewski-Szmek:
> >     wrap a few *_FOREACH macros in curly braces
> >     
> cppcheck is full of errors anyway. I don't think we should make the code
> less pretty just to satisfy a checker, and a rarely used one.
While you may be right about cppcheck, IMHO it's good style to wrap all
multi-line subordinates in curlies on general principle.

-- Matthias Urlichs

More information about the systemd-devel mailing list