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:
2007-05-08 16:31:51 +00:00
parent 2b6813bc0b
commit d50ea1bbe3

View File

@@ -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)