Commit c433bedf76290833cb563aae4100ec7f668a63e9

Authored by Blue Swirl
1 parent 5606c220

Fix warning

Showing 1 changed file with 1 additions and 1 deletions
hw/xenfb.c
@@ -694,7 +694,6 @@ static void xenfb_send_refresh_period(struct XenFB *xenfb, int period) @@ -694,7 +694,6 @@ static void xenfb_send_refresh_period(struct XenFB *xenfb, int period)
694 static void xenfb_update(void *opaque) 694 static void xenfb_update(void *opaque)
695 { 695 {
696 struct XenFB *xenfb = opaque; 696 struct XenFB *xenfb = opaque;
697 - struct DisplayChangeListener *l;  
698 int i; 697 int i;
699 698
700 if (xenfb->c.xendev.be_state != XenbusStateConnected) 699 if (xenfb->c.xendev.be_state != XenbusStateConnected)
@@ -702,6 +701,7 @@ static void xenfb_update(void *opaque) @@ -702,6 +701,7 @@ static void xenfb_update(void *opaque)
702 701
703 if (xenfb->feature_update) { 702 if (xenfb->feature_update) {
704 #ifdef XENFB_TYPE_REFRESH_PERIOD 703 #ifdef XENFB_TYPE_REFRESH_PERIOD
  704 + struct DisplayChangeListener *l;
705 int period = 99999999; 705 int period = 99999999;
706 int idle = 1; 706 int idle = 1;
707 707