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>2012-03-08 08:38:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-08 08:38:35 +0400
commite61339a76fe346f9d9bd45c01f60aa93506eee42 (patch)
treea4ed4ec2e755307c91e8562b5d5da566d34163a8 /source/blender/bmesh
parent79d97ca509a3804e3a174959a65267826a6ea77a (diff)
code cleanup: duplicate checks and double assignments.
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r--source/blender/bmesh/operators/bmo_primitive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_primitive.c b/source/blender/bmesh/operators/bmo_primitive.c
index b0eb7b514de..48a25214b54 100644
--- a/source/blender/bmesh/operators/bmo_primitive.c
+++ b/source/blender/bmesh/operators/bmo_primitive.c
@@ -299,7 +299,7 @@ void bmo_create_uvsphere_exec(BMesh *bm, BMOperator *op)
BMO_slot_mat4_get(op, "mat", mat);
phid = 2.0f * (float)M_PI / tot;
- phi = 0.25f * (float)M_PI;
+ /* phi = 0.25f * (float)M_PI; */ /* UNUSED */
/* one segment first */
phi = 0;