[Spice-devel] [spice-common] glc: Fix "warning: unused variable 'recreate'"
Marc-André Lureau
mlureau at redhat.com
Fri Nov 21 03:11:40 PST 2014
ack
----- Original Message -----
> ---
> common/glc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/common/glc.c b/common/glc.c
> index c1795de..8fd8700 100644
> --- a/common/glc.c
> +++ b/common/glc.c
> @@ -1260,7 +1260,6 @@ void glc_copy_pixels(GLCCtx glc, int x_dest, int
> y_dest, int x_src, int y_src, i
> int height)
> {
> InternaCtx *ctx = (InternaCtx *)glc;
> - int recreate = 0;
>
> spice_assert(ctx);
> #if 1 /* USE_COPY_PIXELS */
> @@ -1275,6 +1274,7 @@ void glc_copy_pixels(GLCCtx glc, int x_dest, int
> y_dest, int x_src, int y_src, i
> glEnable(GL_TEXTURE_2D);
> }
> #else
> + int recreate = 0;
> int width2 = gl_get_to_power_two(width);
> int height2 = gl_get_to_power_two(height);
>
> --
> 2.1.0
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list