Mesa (master): nv50/ir: fix unnecessary parentheses warning
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Sep 23 11:28:21 UTC 2019
Module: Mesa
Branch: master
Commit: 61ccca12f5e102e3a2f76668a4e9afdf227e82ac
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=61ccca12f5e102e3a2f76668a4e9afdf227e82ac
Author: Karol Herbst <kherbst at redhat.com>
Date: Fri Sep 20 19:45:22 2019 +0200
nv50/ir: fix unnecessary parentheses warning
Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Rhys Kidd <rhyskidd at gmail.com>
---
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
{
More information about the mesa-commit
mailing list