[Spice-devel] [PATCH spice-gtk] SpiceWidget: limit scope of 'area' variable

Uri Lublin uril at redhat.com
Thu Jul 14 16:10:55 UTC 2016


On 07/14/2016 05:52 PM, Jonathon Jongsma wrote:
> 'area' was being set within the 'else' branch, but was not actually
> used. So just move the declaration of 'area' within the if statement
> where it is actually used. This potentially avoids "set-but-not-used"
> warnings when GDK_WINDOWING_X11 is not defined.

Ack.



More information about the Spice-devel mailing list