summaryrefslogtreecommitdiffstats
path: root/hw/timer/nrf51_timer.c
diff options
context:
space:
mode:
authorChristophe de Dinechin2019-06-25 14:39:05 +0200
committerDr. David Alan Gilbert2019-07-15 12:26:26 +0200
commitea73f37062a9012a4f151f47f2427011b18569c8 (patch)
tree9f9528b84422984d092284a928e85eff30034861 /hw/timer/nrf51_timer.c
parentMerge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190714' into staging (diff)
downloadqemu-ea73f37062a9012a4f151f47f2427011b18569c8.tar.gz
qemu-ea73f37062a9012a4f151f47f2427011b18569c8.tar.xz
qemu-ea73f37062a9012a4f151f47f2427011b18569c8.zip
Fix build error when VNC is configured out
In hmp_change(), the variable hmp_mon is only used by code under #ifdef CONFIG_VNC. This results in a build error when VNC is configured out with the default of treating warnings as errors: monitor/hmp-cmds.c: In function ‘hmp_change’: monitor/hmp-cmds.c:1946:17: error: unused variable ‘hmp_mon’ [-Werror=unused-variable] 1946 | MonitorHMP *hmp_mon = container_of(mon, MonitorHMP, common); | ^~~~~~~ Signed-off-by: Christophe de Dinechin <dinechin@redhat.com> Message-Id: <20190625123905.25434-1-dinechin@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/timer/nrf51_timer.c')
0 files changed, 0 insertions, 0 deletions