[SSSD] [PATCH] Multiline macro cleanup

Stephen Gallagher sgallagh at redhat.com
Wed Sep 28 13:10:06 UTC 2011


On Tue, 2011-09-27 at 10:58 -0400, Stephen Gallagher wrote:
> On Fri, 2011-09-23 at 09:47 +0200, Jakub Hrozek wrote:
> > This is mostly a cosmetic patch.
> > 
> > The purpose of wrapping a multi-line macro in a do { } while(0) is to
> > make the macro usable as a regular statement, not a compound statement.
> > 
> > When the while(0) is terminated with a semicolon, the do { } while(0);
> > block becomes a compound statement again.
> 
> Ack.


Pushed to master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110928/c77f2c39/attachment.sig>


More information about the sssd-devel mailing list