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>2011-03-19 08:06:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-19 08:06:06 +0300
commite9005b985ef283d952aaaa7486d42ad6a48fb117 (patch)
tree917221e91452b5075f710b9e5639d8d2b4b539ed /source/blender/editors/render
parent3b8d4aa25f23f1c4c1d9a42e6c876333c4f2c6d2 (diff)
remove some redundant vars, assignments & checks.
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r--source/blender/editors/render/render_shading.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/render/render_shading.c b/source/blender/editors/render/render_shading.c
index df9d477425c..1de693699f4 100644
--- a/source/blender/editors/render/render_shading.c
+++ b/source/blender/editors/render/render_shading.c
@@ -1153,6 +1153,9 @@ static void paste_mtex_copybuf(ID *id)
case ID_PA:
mtex= &(((ParticleSettings *)id)->mtex[(int)((ParticleSettings *)id)->texact]);
break;
+ default:
+ BLI_assert("invalid id type");
+ return;
}
if(mtex) {