From: Karol Herbst Date: Fri, 20 Sep 2019 17:45:22 +0000 (+0200) Subject: nv50/ir: fix unnecessary parentheses warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61ccca12f5e102e3a2f76668a4e9afdf227e82ac;p=mesa.git nv50/ir: fix unnecessary parentheses warning Signed-off-by: Karol Herbst Reviewed-by: Rhys Kidd --- 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 {