diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-04-25 07:31:43 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-04-25 07:31:43 +0000 |
commit | c433bedf76290833cb563aae4100ec7f668a63e9 (patch) | |
tree | 6c8c0880029d774a672ecb0852f75b0df3408667 /hw | |
parent | 5606c2208b1cbae32ff387bf0a102cb88e5065a3 (diff) |
Fix warning
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xenfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xenfb.c b/hw/xenfb.c index d93844122a..ad3e8eea5f 100644 --- a/hw/xenfb.c +++ b/hw/xenfb.c @@ -694,7 +694,6 @@ static void xenfb_send_refresh_period(struct XenFB *xenfb, int period) static void xenfb_update(void *opaque) { struct XenFB *xenfb = opaque; - struct DisplayChangeListener *l; int i; if (xenfb->c.xendev.be_state != XenbusStateConnected) @@ -702,6 +701,7 @@ static void xenfb_update(void *opaque) if (xenfb->feature_update) { #ifdef XENFB_TYPE_REFRESH_PERIOD + struct DisplayChangeListener *l; int period = 99999999; int idle = 1; |