diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-09-20 17:47:10 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-09-20 17:59:55 +0300 |
commit | cffae363813e92148a27604a69b7576ba6962962 (patch) | |
tree | b6044b493f3545e641ca1a81ab4a417bf723ecc1 /source/blender/editors | |
parent | 9a91e67825200986bb0fc3f10380a1112b2c75ef (diff) |
Fix build for MSVC: Remove trailing double semicolon
Not sure why but MSVC is complaining for some of those.
In particular for the struct in BKE_subdiv_ccg.h. Those were the ones
crashing here..
Diffstat (limited to 'source/blender/editors')
4 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/armature/armature_select.c b/source/blender/editors/armature/armature_select.c index bccc8c795b3..95b9e1dafcf 100644 --- a/source/blender/editors/armature/armature_select.c +++ b/source/blender/editors/armature/armature_select.c @@ -129,7 +129,7 @@ Base *ED_armature_base_and_bone_from_select_buffer( if (base != NULL) { if (base->object->pose != NULL) { const uint hit_bone = (hit & ~BONESEL_ANY) >> 16; - bPoseChannel *pchan = BLI_findlink(&base->object->pose->chanbase, hit_bone);; + bPoseChannel *pchan = BLI_findlink(&base->object->pose->chanbase, hit_bone); bone = pchan ? pchan->bone : NULL; } } diff --git a/source/blender/editors/mesh/editmesh_add_gizmo.c b/source/blender/editors/mesh/editmesh_add_gizmo.c index 253f546c7af..7437d86e6b5 100644 --- a/source/blender/editors/mesh/editmesh_add_gizmo.c +++ b/source/blender/editors/mesh/editmesh_add_gizmo.c @@ -321,7 +321,7 @@ static void MESH_GGT_add_bounds(struct wmGizmoGroupType *gzgt) static int add_primitive_cube_gizmo_exec(bContext *C, wmOperator *op) { - Object *obedit = CTX_data_edit_object(C);; + Object *obedit = CTX_data_edit_object(C); BMEditMesh *em = BKE_editmesh_from_object(obedit); float matrix[4][4]; diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index b6be0959e9d..951949e18c6 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -4755,7 +4755,7 @@ static void SCREEN_OT_workspace_cycle(wmOperatorType *ot) /* api callbacks */ ot->invoke = space_workspace_cycle_invoke; - ot->poll = ED_operator_screenactive;; + ot->poll = ED_operator_screenactive; ot->flag = 0; diff --git a/source/blender/editors/space_outliner/outliner_collections.c b/source/blender/editors/space_outliner/outliner_collections.c index f0feb7515ba..c1d86da3eab 100644 --- a/source/blender/editors/space_outliner/outliner_collections.c +++ b/source/blender/editors/space_outliner/outliner_collections.c @@ -226,7 +226,7 @@ void OUTLINER_OT_collection_new(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; /* properties */ - PropertyRNA *prop = RNA_def_boolean(ot->srna, "nested", true, "Nested", "Add as child of selected collection");; + PropertyRNA *prop = RNA_def_boolean(ot->srna, "nested", true, "Nested", "Add as child of selected collection"); RNA_def_property_flag(prop, PROP_SKIP_SAVE); } |