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
path: root/source
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2018-04-19 10:51:22 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-04-19 10:51:22 +0300
commit8a923e5295ab10c6f0a3976f9fbf0b70856fd204 (patch)
tree5f2398c12e1a3912a21f3007f4c473c7d831435e /source
parent163b631122b94713e68c4f30ee3edfe36278376e (diff)
Code cleanup
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/engines/workbench/workbench_materials.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/engines/workbench/workbench_materials.c b/source/blender/draw/engines/workbench/workbench_materials.c
index eafeda324d7..c6625be6f36 100644
--- a/source/blender/draw/engines/workbench/workbench_materials.c
+++ b/source/blender/draw/engines/workbench/workbench_materials.c
@@ -118,7 +118,6 @@ void workbench_materials_solid_cache_populate(WORKBENCH_Data *vedata, Object *ob
const float *color = get_material_solid_color(ob);
uint hash = get_material_hash(color);
- WORKBENCH_MaterialData *material;
material = BLI_ghash_lookup(wpd->material_hash, SET_UINT_IN_POINTER(hash));
if (material == NULL) {