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:
authorCampbell Barton <ideasman42@gmail.com>2009-12-26 23:23:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-26 23:23:13 +0300
commitd5592fe254c7061ca8bbcea93b6098dc9bf3d683 (patch)
tree740a09af66dbfe68763d2d9b721479e67bafe434 /source/blender/editors/space_buttons
parent5689ab39754dcd7229f616e3eed206bea5611545 (diff)
fixes for errors/warnings found with cppcheck
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r--source/blender/editors/space_buttons/buttons_context.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c
index ade906ce678..18ba149d7ed 100644
--- a/source/blender/editors/space_buttons/buttons_context.c
+++ b/source/blender/editors/space_buttons/buttons_context.c
@@ -298,7 +298,6 @@ static int buttons_context_path_particle(ButsContextPath *path)
static int buttons_context_path_brush(const bContext *C, ButsContextPath *path)
{
Scene *scene;
- ToolSettings *ts;
Brush *br= NULL;
PointerRNA *ptr= &path->ptr[path->len-1];
@@ -309,7 +308,6 @@ static int buttons_context_path_brush(const bContext *C, ButsContextPath *path)
/* if we have a scene, use the toolsettings brushes */
else if(buttons_context_path_scene(path)) {
scene= path->ptr[path->len-1].data;
- ts= scene->toolsettings;
if(scene)
br= paint_brush(paint_get_active(scene));