[Mesa-dev] [PATCH 2/4] nv50ir: fix unnecessary parentheses warning
Rhys Kidd
rhyskidd at gmail.com
Sun Sep 22 10:13:58 UTC 2019
On Sat, 21 Sep 2019 at 04:27, Karol Herbst <kherbst at redhat.com> wrote:
> 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
> {
> --
> 2.21.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190922/d3f060e6/attachment-0001.html>
More information about the mesa-dev
mailing list