From 2c9106f6fe6f129cd6bfdeaf86974fc4f0b31d25 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 27 Aug 2006 22:32:38 +0000 Subject: [PATCH] Define RB_AUGMENT to some expression, so that we don't end up with empty ifs. --- sys/sys/tree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/tree.h b/sys/sys/tree.h index cb225b40f8e3..e4e670ab04b9 100644 --- a/sys/sys/tree.h +++ b/sys/sys/tree.h @@ -1,4 +1,4 @@ -/* $NetBSD: tree.h,v 1.12 2005/12/28 15:33:47 yamt Exp $ */ +/* $NetBSD: tree.h,v 1.13 2006/08/27 22:32:38 christos Exp $ */ /* $OpenBSD: tree.h,v 1.7 2002/10/17 21:51:54 art Exp $ */ /* * Copyright 2002 Niels Provos @@ -330,7 +330,7 @@ struct { \ } while (/*CONSTCOND*/ 0) #ifndef RB_AUGMENT -#define RB_AUGMENT(x) +#define RB_AUGMENT(x) (void)(x) #endif #define RB_ROTATE_LEFT(head, elm, tmp, field) do { \