another little coverity fix.
unused var doredraw removed and the call to do a redraw, since its never called I figured we can remove it and if we need it later put it back in. (this is in function winqreadbutspace) Kent
This commit is contained in:
@@ -4006,7 +4006,7 @@ static void winqreadbutspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
short val= evt->val;
|
||||
SpaceButs *sbuts= curarea->spacedata.first;
|
||||
ScrArea *sa2, *sa3d;
|
||||
int nr, doredraw= 0;
|
||||
int nr;
|
||||
|
||||
if(val) {
|
||||
|
||||
@@ -4087,7 +4087,6 @@ static void winqreadbutspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
}
|
||||
}
|
||||
|
||||
if(doredraw) scrarea_queue_winredraw(curarea);
|
||||
}
|
||||
|
||||
void set_rects_butspace(SpaceButs *buts)
|
||||
|
||||
Reference in New Issue
Block a user