[Cogl] [PATCH 2/4] cogl-winsys-egl-kms: Remove some unused variables

Robert Bragg robert at sixbynine.org
Wed Aug 1 01:48:16 PDT 2012


This looks good to land to me.

Reviewed-by: Robert Bragg <robert at linux.intel.com>

thanks,
- Robert

On Tue, Jul 31, 2012 at 3:15 PM, Neil Roberts <neil at linux.intel.com> wrote:
> This just gets rid of some annoying warnings.
> ---
>  cogl/winsys/cogl-winsys-egl-kms.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/cogl/winsys/cogl-winsys-egl-kms.c b/cogl/winsys/cogl-winsys-egl-kms.c
> index 8ff03c4..f341731 100644
> --- a/cogl/winsys/cogl-winsys-egl-kms.c
> +++ b/cogl/winsys/cogl-winsys-egl-kms.c
> @@ -537,8 +537,6 @@ static CoglBool
>  _cogl_winsys_egl_context_created (CoglDisplay *display,
>                                    GError **error)
>  {
> -  CoglRenderer *renderer = display->renderer;
> -  CoglRendererEGL *egl_renderer = renderer->winsys;
>    CoglDisplayEGL *egl_display = display->winsys;
>
>    if (!_cogl_winsys_egl_make_current (display,
> --
> 1.7.11.3.g3c3efa5
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list