DragonFly users List (threaded) for 2009-02
DragonFly BSD
DragonFly users List (threaded) for 2009-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: tree.h RB_AUGMENT empty body warning


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 18 Feb 2009 14:31:39 +0100
Mail-followup-to: users@crater.dragonflybsd.org

On Wed, Feb 18, 2009 at 10:49:29PM +1100, Dmitri Nikulin wrote:
> #define RB_AUGMENT(x) ((void)x)

Replace that with 
#define RB_AUGMENT(x) do { (void)x; } while (0)

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]