On Tue, Jul 02, 2019 at 07:01:31PM +0000, Julio Montes wrote:
> How to reproduce it?
> ===
> 
> ```
> $ ./configure --disable-spice --disable-vte --disable-vnc \
>     --disable-vnc-jpeg --disable-vnc-png --disable-vnc-sasl
> $ make
> ...
> monitor/hmp-cmds.c: In function ‘hmp_change’:
> monitor/hmp-cmds.c:1985:17: error: unused variable ‘hmp_mon’
>      [-Werror=unused-variable]
>      MonitorHMP *hmp_mon = container_of(mon, MonitorHMP, common);
> ```
> 
> Fix
> ===
> 
> Move `hmp_mon` variable within the `CONFIG_VNC` block
> 

Hi Julio,
thanks for the patch, but Christophe sent a very similar patch last
week: https://patchew.org/QEMU/20190625123905.25434-1-dinec...@redhat.com/

Cheers,
Stefano

Reply via email to