mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Fix warning
This commit is contained in:
parent
5606c2208b
commit
c433bedf76
1 changed files with 1 additions and 1 deletions
|
@ -694,7 +694,6 @@ static void xenfb_send_refresh_period(struct XenFB *xenfb, int period)
|
||||||
static void xenfb_update(void *opaque)
|
static void xenfb_update(void *opaque)
|
||||||
{
|
{
|
||||||
struct XenFB *xenfb = opaque;
|
struct XenFB *xenfb = opaque;
|
||||||
struct DisplayChangeListener *l;
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (xenfb->c.xendev.be_state != XenbusStateConnected)
|
if (xenfb->c.xendev.be_state != XenbusStateConnected)
|
||||||
|
@ -702,6 +701,7 @@ static void xenfb_update(void *opaque)
|
||||||
|
|
||||||
if (xenfb->feature_update) {
|
if (xenfb->feature_update) {
|
||||||
#ifdef XENFB_TYPE_REFRESH_PERIOD
|
#ifdef XENFB_TYPE_REFRESH_PERIOD
|
||||||
|
struct DisplayChangeListener *l;
|
||||||
int period = 99999999;
|
int period = 99999999;
|
||||||
int idle = 1;
|
int idle = 1;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue