[PATCH] randr: Silence unused variable warning

Michel Dänzer michel at daenzer.net
Tue Dec 8 17:05:28 PST 2015


On 09.12.2015 06:22, Adam Jackson wrote:
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>  randr/rrcrtc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
> index ec26fcd..566a3db 100644
> --- a/randr/rrcrtc.c
> +++ b/randr/rrcrtc.c
> @@ -383,7 +383,6 @@ rrDestroySharedPixmap(RRCrtcPtr crtc, PixmapPtr pPixmap) {
>  void
>  RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc)
>  {
> -    ScreenPtr master = crtc->pScreen->current_master;
>      rrScrPriv(crtc->pScreen);
>  
>      pScrPriv->rrCrtcSetScanoutPixmap(crtc, NULL);
> 

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list