monitor: fix build breakage for !CONFIG_VNC
commit860341f60582959698d2e1d839a5b7a004a2d76f
authorJamie Iles <jamie@jamieiles.com>
Wed, 10 Aug 2011 14:18:42 +0000 (10 15:18 +0100)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 25 Aug 2011 15:40:07 +0000 (25 12:40 -0300)
treeab8e3e1d72347b89f38c6ac40beca05a575fd416
parent56a7a874e962e28522857fbf72eaefb1a07e2001
monitor: fix build breakage for !CONFIG_VNC

Commit c62f6d1 (monitor: fix build breakage with --disable-vnc)
conditionalised some VNC setup code but left an unused variable.  Move
the variable into the conditional code to fix the build breakage.

Cc: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor.c