projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5606c22
)
Fix warning
author
Blue Swirl
<blauwirbel@gmail.com>
Sat, 25 Apr 2009 07:31:43 +0000
(07:31 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 25 Apr 2009 07:31:43 +0000
(07:31 +0000)
hw/xenfb.c
patch
|
blob
|
history
diff --git
a/hw/xenfb.c
b/hw/xenfb.c
index d93844122a6b29c99d294f1e4a1e4835ebb0f61a..ad3e8eea5f3517544bfc874156e21fe1e40d874c 100644
(file)
--- 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;