From 61ccca12f5e102e3a2f76668a4e9afdf227e82ac Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Fri, 20 Sep 2019 19:45:22 +0200 Subject: [PATCH] nv50/ir: fix unnecessary parentheses warning Signed-off-by: Karol Herbst Reviewed-by: Rhys Kidd --- src/gallium/drivers/nouveau/codegen/nv50_ir_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_util.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_util.h index 307c23d5e03..b1766f48205 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_util.h +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_util.h @@ -145,7 +145,7 @@ public: #define DLLIST_EMPTY(__list) ((__list)->next == (__list)) #define DLLIST_FOR_EACH(list, it) \ - for (DLList::Iterator (it) = (list)->iterator(); !(it).end(); (it).next()) + for (DLList::Iterator it = (list)->iterator(); !(it).end(); (it).next()) class DLList { -- 2.30.2