[PATCH 12/37] dix: Remove an empty if

Alan Coopersmith alan.coopersmith at oracle.com
Thu Oct 9 05:39:46 PDT 2014


On 10/ 8/14 05:04 PM, Adam Jackson wrote:
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>   dix/window.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/dix/window.c b/dix/window.c
> index e1645c3..e49670a 100644
> --- a/dix/window.c
> +++ b/dix/window.c
> @@ -2806,8 +2806,6 @@ UnmapSubwindows(WindowPtr pWin)
>               pChild->mapped = FALSE;
>               if (pChild->realized)
>                   UnrealizeTree(pChild, FALSE);
> -            if (wasViewable) {
> -            }
>           }
>       }
>       if (wasViewable) {
>

Seems to have been missed when removing the #ifdef DO_SAVE_UNDERS code
that used to be in the if body.

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list