[Mesa-dev] Mesa (master): dri2: Remove an unused variable.
Jerome Glisse
glisse at freedesktop.org
Wed Jul 21 14:43:31 PDT 2010
On 07/21/2010 04:29 PM, Carl Worth wrote:
> Module: Mesa
> Branch: master
> Commit: c0ca2bfb2ad8cf7fb9d756b5ae52cb77236ff605
> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0ca2bfb2ad8cf7fb9d756b5ae52cb77236ff605
>
> Author: Carl Worth<cworth at cworth.org>
> Date: Wed Jul 21 13:17:05 2010 -0700
>
> dri2: Remove an unused variable.
>
> To quiet a compiler warning.
>
> ---
>
> src/glx/dri2.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/src/glx/dri2.c b/src/glx/dri2.c
> index ab530ba..6b8b2b9 100644
> --- a/src/glx/dri2.c
> +++ b/src/glx/dri2.c
> @@ -88,7 +88,6 @@ static Bool
> DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire)
> {
> XExtDisplayInfo *info = DRI2FindDisplay(dpy);
> - XExtDisplayInfo *glx_info = __glXFindDisplay(dpy);
>
> XextCheckExtension(dpy, info, dri2ExtensionName, False);
>
>
> _______________________________________________
> mesa-commit mailing list
> mesa-commit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-commit
It's used if X_DRI2SwapBuffers is defined, we can silence out
the warning another way if you want. I pushed a revert from
your patch.
Cheers,
Jerome
More information about the mesa-dev
mailing list