diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 08:38:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 08:38:35 +0400 |
commit | e61339a76fe346f9d9bd45c01f60aa93506eee42 (patch) | |
tree | a4ed4ec2e755307c91e8562b5d5da566d34163a8 /source/blender/blenkernel/intern/mesh.c | |
parent | 79d97ca509a3804e3a174959a65267826a6ea77a (diff) |
code cleanup: duplicate checks and double assignments.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index e298f087e9c..38132f1b521 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -567,9 +567,7 @@ static void expand_local_mesh(Mesh *me) for (a=0; a<me->totpoly; a++, txface++) { /* special case: ima always local immediately */ if (txface->tpage) { - if (txface->tpage) { - id_lib_extern((ID *)txface->tpage); - } + id_lib_extern((ID *)txface->tpage); } } } @@ -582,9 +580,7 @@ static void expand_local_mesh(Mesh *me) for (a=0; a<me->totface; a++, tface++) { /* special case: ima always local immediately */ if (tface->tpage) { - if (tface->tpage) { - id_lib_extern((ID *)tface->tpage); - } + id_lib_extern((ID *)tface->tpage); } } } |