[Bf-blender-cvs] [73ea68d0ca0] master: Cleanup: unused variable

Campbell Barton noreply at git.blender.org
Fri Nov 6 02:41:43 CET 2020


Commit: 73ea68d0ca0bc4c629fef9e8352aa5e2c4fc4ee1
Author: Campbell Barton
Date:   Fri Nov 6 09:30:38 2020 +1100
Branches: master
https://developer.blender.org/rB73ea68d0ca0bc4c629fef9e8352aa5e2c4fc4ee1

Cleanup: unused variable

===================================================================

M	source/blender/editors/space_api/spacetypes.c

===================================================================

diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c
index 40c83607f2c..10ce7b81954 100644
--- a/source/blender/editors/space_api/spacetypes.c
+++ b/source/blender/editors/space_api/spacetypes.c
@@ -271,7 +271,6 @@ void ED_region_draw_cb_exit(ARegionType *art, void *handle)
 void ED_region_draw_cb_draw(const bContext *C, ARegion *region, int type)
 {
   RegionDrawCB *rdc;
-  bool has_drawn_something = false;
 
   for (rdc = region->type->drawcalls.first; rdc; rdc = rdc->next) {
     if (rdc->type == type) {



More information about the Bf-blender-cvs mailing list