From 877cf882321aeb74b246043d3970e1c707a89f1e Mon Sep 17 00:00:00 2001 From: ths Date: Wed, 18 Apr 2007 18:11:47 +0000 Subject: [PATCH] Fix compiler warning. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2702 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.7.4