[Bf-blender-cvs] [f23f80eef83] temp-lanpr-staging: Cleanup: clang-format, unused arg
Campbell Barton
noreply at git.blender.org
Fri Aug 16 03:05:32 CEST 2019
Commit: f23f80eef8330f0f536935d865a6fd15bdd830ea
Author: Campbell Barton
Date: Fri Aug 16 01:59:13 2019 +1000
Branches: temp-lanpr-staging
https://developer.blender.org/rBf23f80eef8330f0f536935d865a6fd15bdd830ea
Cleanup: clang-format, unused arg
===================================================================
M source/blender/blenlib/intern/delaunay_2d.c
M source/blender/editors/space_view3d/view3d_select.c
M tests/gtests/blenlib/BLI_delaunay_2d_test.cc
===================================================================
diff --git a/source/blender/blenlib/intern/delaunay_2d.c b/source/blender/blenlib/intern/delaunay_2d.c
index 632847046a7..23f560c5463 100644
--- a/source/blender/blenlib/intern/delaunay_2d.c
+++ b/source/blender/blenlib/intern/delaunay_2d.c
@@ -1961,7 +1961,7 @@ static void add_face_ids(
}
}
-/* Delete_edge but try not to mess up outer face.
+/* Delete_edge but try not to mess up outer face.
* Also faces have symedges now, so make sure not
* to mess those up either. */
static void dissolve_symedge(CDT_state *cdt, SymEdge *se)
diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c
index 9a37c10180d..725f655c8ce 100644
--- a/source/blender/editors/space_view3d/view3d_select.c
+++ b/source/blender/editors/space_view3d/view3d_select.c
@@ -200,9 +200,7 @@ struct EditSelectBuf_Cache {
BLI_bitmap *select_bitmap;
};
-static void editselect_buf_cache_init(struct EditSelectBuf_Cache *esel,
- ViewContext *vc,
- short select_mode)
+static void editselect_buf_cache_init(ViewContext *vc, short select_mode)
{
if (vc->obedit) {
uint bases_len = 0;
@@ -240,7 +238,7 @@ static void editselect_buf_cache_init_with_generic_userdata(wmGenericUserData *w
wm_userdata->data = esel;
wm_userdata->free_fn = editselect_buf_cache_free_voidp;
wm_userdata->use_free = true;
- editselect_buf_cache_init(esel, vc, select_mode);
+ editselect_buf_cache_init(vc, select_mode);
}
/** \} */
diff --git a/tests/gtests/blenlib/BLI_delaunay_2d_test.cc b/tests/gtests/blenlib/BLI_delaunay_2d_test.cc
index 5b44c6277a3..ce84baf802a 100644
--- a/tests/gtests/blenlib/BLI_delaunay_2d_test.cc
+++ b/tests/gtests/blenlib/BLI_delaunay_2d_test.cc
@@ -650,7 +650,10 @@ enum {
};
// #define DO_TIMING
-static void rand_delaunay_test(int test_kind, int max_lg_size, int reps_per_size, CDT_output_type otype)
+static void rand_delaunay_test(int test_kind,
+ int max_lg_size,
+ int reps_per_size,
+ CDT_output_type otype)
{
CDT_input in;
CDT_result *out;
More information about the Bf-blender-cvs
mailing list