Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2007-05-08 20:31:51 +0400
committerKent Mein <mein@cs.umn.edu>2007-05-08 20:31:51 +0400
commitd50ea1bbe39e49db629834b8e0f625290f685df4 (patch)
treef6497a9fd9becb3c4104cdec17aa8e9a40ad7766 /source/blender/src
parent2b6813bc0b2c521e9e08348d95c168df63d27410 (diff)
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
Diffstat (limited to 'source/blender/src')
-rw-r--r--source/blender/src/space.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index c33be774617..8025f11c55c 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -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)