From a9f9fb8e44bb0bdbd004da1fce986585ebcafd28 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 5 Jun 2013 09:48:19 +0100 Subject: [PATCH] sna/video: Fix redundant initialisation of video->clip It will be created before use anyway, but this silences a compiler warning. Signed-off-by: Chris Wilson --- src/sna/sna_video_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_video_overlay.c b/src/sna/sna_video_overlay.c index 6d852752..e3140b32 100644 --- a/src/sna/sna_video_overlay.c +++ b/src/sna/sna_video_overlay.c @@ -775,7 +775,7 @@ void sna_video_overlay_setup(struct sna *sna, ScreenPtr screen) video->gamma1 = 0x101010; video->gamma0 = 0x080808; video->rotation = RR_Rotate_0; - RegionNil(&video->clip); + RegionNull(&video->clip); xvColorKey = MAKE_ATOM("XV_COLORKEY"); xvBrightness = MAKE_ATOM("XV_BRIGHTNESS");