summaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-18 18:11:47 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-18 18:11:47 +0000
commit877cf882321aeb74b246043d3970e1c707a89f1e (patch)
tree1f95105e0f454d80b6ace326fd8d9677b3cbfd73 /vl.c
parente6b1e558aca0e065a674f580d5347e5714da345f (diff)
downloadhqemu-877cf882321aeb74b246043d3970e1c707a89f1e.zip
hqemu-877cf882321aeb74b246043d3970e1c707a89f1e.tar.gz
Fix compiler warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2702 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index ab7aacf..999fcef 100644
--- a/vl.c
+++ b/vl.c
@@ -6143,7 +6143,10 @@ void main_loop_wait(int timeout)
{
IOHandlerRecord *ioh;
fd_set rfds, wfds, xfds;
- int ret, ret2, nfds, i;
+ int ret, nfds;
+#ifdef _WIN32
+ int ret2, i;
+#endif
struct timeval tv;
PollingEntry *pe;
OpenPOWER on IntegriCloud