tree.h RB_AUGMENT empty body warning

Joerg Sonnenberger joerg at britannica.bec.de
Wed Feb 18 05:36:42 PST 2009


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





More information about the Users mailing list