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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-03-20 02:21:40 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-03-20 02:21:40 +0400
commitccbed1334382a881671a03e281ebd88d51767697 (patch)
tree86146b803d81009cd381180027b6671eac8bd54b /source/blender/bmesh/tools/BME_bevel.c
parente6834fcf851e6a23c420b203468a78e460ea1e85 (diff)
Quiet warnings about unused functions and variables.
Commented or '#if 0' these functions/variables and marked with 'UNUSED' comment so they can be restored in the future if needed.
Diffstat (limited to 'source/blender/bmesh/tools/BME_bevel.c')
-rw-r--r--source/blender/bmesh/tools/BME_bevel.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/BME_bevel.c b/source/blender/bmesh/tools/BME_bevel.c
index 8a83cc8a928..aea08f8981a 100644
--- a/source/blender/bmesh/tools/BME_bevel.c
+++ b/source/blender/bmesh/tools/BME_bevel.c
@@ -300,6 +300,9 @@ static BMVert *BME_bevel_split_edge(BMesh *bm, BMVert *v, BMVert *v1, BMLoop *l,
float maxfactor, scale, len, dis, vec1[3], vec2[3], t_up_vec[3];
int is_edge, forward, is_split_vert;
+ /* ov, vtd2, and is_split_vert are set but UNUSED */
+ (void)ov, (void)vtd2, (void)is_split_vert;
+
if (l == NULL) {
/* what you call operator overloading in C :)
* I wanted to use the same function for both wire edges and poly loops
@@ -646,7 +649,7 @@ static BMLoop *BME_bevel_edge(BMesh *bm, BMLoop *l, float value, int UNUSED(opti
static BMLoop *BME_bevel_vert(BMesh *bm, BMLoop *l, float value, int UNUSED(options), float *up_vec, BME_TransData_Head *td)
{
BMVert *v1, *v2;
- BMFace *f;
+ /* BMFace *f; */ /* UNUSED */
/* get/make the first vert to be used in SFME */
/* may need to split the previous edge */
@@ -659,7 +662,7 @@ static BMLoop *BME_bevel_vert(BMesh *bm, BMLoop *l, float value, int UNUSED(opti
l = l->next->next;
/* "cut off" this corner */
- f = BM_face_split(bm, l->f, v2, v1, NULL, l->e, FALSE);
+ /* f = */ BM_face_split(bm, l->f, v2, v1, NULL, l->e, FALSE);
return l;
}