From c65aa5b2b9c48375ea1c451f252f0056e16f4e49 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 26 Aug 2010 09:52:42 -0700 Subject: Fix gcc missing parenthesis warnings Gcc -Wall warn: 'missing parenthesis' Signed-off-by: Brian Behlendorf --- module/zfs/zap_micro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/zfs/zap_micro.c') diff --git a/module/zfs/zap_micro.c b/module/zfs/zap_micro.c index 2d89c20c4..cc061eec8 100644 --- a/module/zfs/zap_micro.c +++ b/module/zfs/zap_micro.c @@ -350,7 +350,7 @@ mze_destroy(zap_t *zap) mzap_ent_t *mze; void *avlcookie = NULL; - while (mze = avl_destroy_nodes(&zap->zap_m.zap_avl, &avlcookie)) + while ((mze = avl_destroy_nodes(&zap->zap_m.zap_avl, &avlcookie))) kmem_free(mze, sizeof (mzap_ent_t)); avl_destroy(&zap->zap_m.zap_avl); } -- cgit v1.2.3