diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-08-18 20:14:54 +0000 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-08-20 14:42:49 -0300 |
commit | b2dc64c391843f6499069f0ba77ad0a8c9560c86 (patch) | |
tree | 0f6502570f1391daeb808920c4fafc3b69242564 /savevm.c | |
parent | e36c87667aa2204a3f19efe7bbcb6eb41f098e40 (diff) |
monitor: avoid declaring unused variables
Some variables are only used on !win32, declare
them only when used.
This avoids a warning in mingw32 build:
CC i386-softmmu/monitor.o
/src/qemu/monitor.c: In function 'monitor_fdset_get_fd':
/src/qemu/monitor.c:2575: warning: unused variable 'mon_fd_flags'
/src/qemu/monitor.c:2574: warning: unused variable 'mon_fdset_fd'
/src/qemu/monitor.c:2573: warning: unused variable 'mon_fdset'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'savevm.c')
0 files changed, 0 insertions, 0 deletions