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-01-20 19:18:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-20 19:18:57 +0400
commit172685322638f92906ef3baf39d92399903bdfb3 (patch)
treeff6ebdc4d1fa942adfd0d01b589d36b91120042f /source/blender/editors
parent605aa16dd76c8c2e6eb62dc1686af81e40568c81 (diff)
comment some dead assibnment and set dummy values for image profile conversion in case of invalid input.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c1
-rw-r--r--source/blender/editors/uvedit/uvedit_smart_stitch.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index d7d9a62ec29..03dc906a84b 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -3239,6 +3239,7 @@ static int set_3dcursor_invoke(bContext *C, wmOperator *UNUSED(op), wmEvent *eve
/* re initialize */
project_int_noclip(ar, fp, mval);
flip= initgrabz(rv3d, fp[0], fp[1], fp[2]);
+ (void)flip;
}
if(mval[0]!=IS_CLIPPED) {
diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c
index 04748ae3413..c4716f2e3ca 100644
--- a/source/blender/editors/uvedit/uvedit_smart_stitch.c
+++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c
@@ -1067,7 +1067,7 @@ static int stitch_init(bContext *C, wmOperator *op)
ghi = BLI_ghashIterator_new(edgeHash);
total_edges = 0;
/* fill the edges with data */
- for(i = 0; !BLI_ghashIterator_isDone(ghi); BLI_ghashIterator_step(ghi)){
+ for(; !BLI_ghashIterator_isDone(ghi); BLI_ghashIterator_step(ghi)){
UvEdge *edge = ((UvEdge *)BLI_ghashIterator_getKey(ghi));
if(edge->flag & STITCH_BOUNDARY){
total_edges++;