On Tue, 2012-08-21 at 10:27 +0200, Stephan Bergmann wrote: > Yes, using braces is one notable case where I deliberately deviate from > existing practice in a given file.
:-) > Anyway, even if we agree to disagree here I think that's likely ;-) > the devilishly deceiving cases I remember all involved if-sans-braces > which originally covered a single statement plus comment (as above), so > maybe we can agree that at least in such cases it doesn't harm to add > redundant braces. Totally with you: if (pUnobvious) { // this is something complicated - wake up ! **((int **)pUnobvious) = 42; } looks rather sensible to me :-) ATB, Michael. -- michael.me...@suse.com <><, Pseudo Engineer, itinerant idiot _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice