[PATCH] Fix Xephyr compilation when DEBUG is enabled
Peter Hutterer
peter.hutterer at who-t.net
Tue Oct 1 00:23:17 PDT 2013
On Sun, Sep 15, 2013 at 07:56:34PM +0100, Michele Baldessari wrote:
> When DEBUG is enabled Xephyr compilation fails:
> ephyrdriext.c:343:133: error: 'is_ok' undeclared (first use in this
> function)
> EPHYR_LOG("leave. is_ok:%d\n", is_ok);
>
> Just reemove bogus is_ok variable.
>
> Signed-off-by: Michele Baldessari <michele at acksyn.org>
> ---
> hw/kdrive/ephyr/ephyrdriext.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/kdrive/ephyr/ephyrdriext.c b/hw/kdrive/ephyr/ephyrdriext.c
> index 617ffb1..4c3324e 100644
> --- a/hw/kdrive/ephyr/ephyrdriext.c
> +++ b/hw/kdrive/ephyr/ephyrdriext.c
> @@ -340,7 +340,7 @@ ephyrDRIClipNotify(WindowPtr a_win, int a_x, int a_y)
> free(rects);
> rects = NULL;
>
> - EPHYR_LOG("leave. is_ok:%d\n", is_ok);
> + EPHYR_LOG("leave.\n");
> /*do cleanup here */
> }
>
> --
> 1.8.3.1
merged, thanks
Cheers,
Peter
More information about the xorg-devel
mailing list