diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-20 02:21:40 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-20 02:21:40 +0400 |
commit | ccbed1334382a881671a03e281ebd88d51767697 (patch) | |
tree | 86146b803d81009cd381180027b6671eac8bd54b /source/blender/editors/armature | |
parent | e6834fcf851e6a23c420b203468a78e460ea1e85 (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/editors/armature')
-rw-r--r-- | source/blender/editors/armature/reeb.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/editors/armature/reeb.c b/source/blender/editors/armature/reeb.c index 97113109981..bb24a1d8412 100644 --- a/source/blender/editors/armature/reeb.c +++ b/source/blender/editors/armature/reeb.c @@ -115,6 +115,7 @@ void flipArcBuckets(ReebArc *arc); /***************************************** UTILS **********************************************/ +#if 0 /* UNUSED */ static VertexData *allocVertexData(EditMesh *em) { VertexData *data; @@ -160,6 +161,8 @@ static void nodeSetData(EditVert *eve, ReebNode *n) ((VertexData*)eve->tmp.p)->n = n; } +#endif + void REEB_freeArc(BArc *barc) { ReebArc *arc = (ReebArc*)barc; @@ -232,6 +235,7 @@ void BIF_flagMultiArcs(ReebGraph *rg, int flag) } } +#if 0 /* UNUSED */ static ReebNode * addNode(ReebGraph *rg, EditVert *eve) { float weight; @@ -300,6 +304,7 @@ static void relinkNodes(ReebGraph *low_rg, ReebGraph *high_rg) } } } +#endif ReebNode *BIF_otherNodeFromIndex(ReebArc *arc, ReebNode *node) { @@ -321,6 +326,7 @@ ReebNode *BIF_lowestLevelNode(ReebNode *node) return node; } +#if 0 /* UNUSED */ static ReebArc * copyArc(ReebGraph *rg, ReebArc *arc) { ReebArc *cp_arc; @@ -395,6 +401,7 @@ static ReebGraph * copyReebGraph(ReebGraph *rg, int level) return cp_rg; } +#endif ReebGraph *BIF_graphForMultiNode(ReebGraph *rg, ReebNode *node) { @@ -408,6 +415,7 @@ ReebGraph *BIF_graphForMultiNode(ReebGraph *rg, ReebNode *node) return multi_rg; } +#if 0 /* UNUSED */ static ReebEdge * copyEdge(ReebEdge *edge) { ReebEdge *newEdge = NULL; @@ -954,6 +962,7 @@ static void calculateGraphLength(ReebGraph *rg) calculateArcLength(arc); } } +#endif /**************************************** SYMMETRY HANDLING ******************************************/ @@ -1160,6 +1169,7 @@ void REEB_AxialSymmetry(BNode* root_node, BNode* node1, BNode* node2, struct BAr /****************************************** SMOOTHING **************************************************/ +#if 0 /* UNUSED */ void postprocessGraph(ReebGraph *rg, char mode) { ReebArc *arc; @@ -3138,6 +3148,7 @@ int weightFromDistance(EditMesh *em, EdgeIndex *indexed_edges) return 1; } +#endif /****************************************** BUCKET ITERATOR **************************************************/ |