Re: [Spice-devel] [PATCH spice-gtk v5 4/5] Remove warning about unused variable when building on macOS

2017-05-31 Thread Christophe de Dinechin
> On 31 May 2017, at 10:22, Christophe Fergeau wrote: > > On Wed, May 31, 2017 at 04:15:27AM -0400, Frediano Ziglio wrote: >> >> It's true, on the other way all this patch is supposed to fix >> a warning considered error for -Werror. >> The other way is remove -Werror and

Re: [Spice-devel] [PATCH spice-gtk v5 4/5] Remove warning about unused variable when building on macOS

2017-05-31 Thread Christophe Fergeau
On Wed, May 31, 2017 at 04:15:27AM -0400, Frediano Ziglio wrote: > > It's true, on the other way all this patch is supposed to fix > a warning considered error for -Werror. > The other way is remove -Werror and keep the warning (don't know > if possible to do for just a set of lines). While this

Re: [Spice-devel] [PATCH spice-gtk v5 4/5] Remove warning about unused variable when building on macOS

2017-05-31 Thread Frediano Ziglio
> > On Tue, May 30, 2017 at 09:36:07AM -0400, Frediano Ziglio wrote: > > > > > > From: Christophe de Dinechin > > > > > > On macOS, neither of the two cases implemented in set_mouse_accel > > > applies. > > > We get the following eror message: > > > > > > CC

Re: [Spice-devel] [PATCH spice-gtk v5 4/5] Remove warning about unused variable when building on macOS

2017-05-31 Thread Christophe Fergeau
On Tue, May 30, 2017 at 09:36:07AM -0400, Frediano Ziglio wrote: > > > > From: Christophe de Dinechin > > > > On macOS, neither of the two cases implemented in set_mouse_accel applies. > > We get the following eror message: > > > > CC spice-widget.lo > >

Re: [Spice-devel] [PATCH spice-gtk v5 4/5] Remove warning about unused variable when building on macOS

2017-05-30 Thread Frediano Ziglio
> > From: Christophe de Dinechin > > On macOS, neither of the two cases implemented in set_mouse_accel applies. > We get the following eror message: > > CC spice-widget.lo > spice-widget.c:944:26: error: unused variable 'd' [-Werror,-Wunused-variable] >

[Spice-devel] [PATCH spice-gtk v5 4/5] Remove warning about unused variable when building on macOS

2017-05-30 Thread Christophe de Dinechin
From: Christophe de Dinechin On macOS, neither of the two cases implemented in set_mouse_accel applies. We get the following eror message: CC spice-widget.lo spice-widget.c:944:26: error: unused variable 'd' [-Werror,-Wunused-variable] SpiceDisplayPrivate *d =