Cleanup: clang-format, unused arg

This commit is contained in:
Campbell Barton 2019-08-16 01:59:13 +10:00
parent 8856c26fc3
commit c883fe25da
3 changed files with 7 additions and 6 deletions

View File

@ -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)

View File

@ -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);
}
/** \} */

View File

@ -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;