Cleanup: Clang tidy fixes

Fix a redundant return statement at the end of void function and
an inconsistent declaration parameter names.
This commit is contained in:
Hans Goudey 2020-10-01 12:45:21 -05:00
parent b6f15d5d47
commit 4c0ef4f788
2 changed files with 2 additions and 3 deletions

View File

@ -140,7 +140,6 @@ static void extract_dense_float_voxels(const VolumeGridType grid_type,
/* Zero channels to copy. */
break;
}
return;
}
static void create_texture_to_object_matrix(const openvdb::Mat4d &grid_transform,

View File

@ -106,9 +106,9 @@ int DNA_struct_find_nr(const struct SDNA *sdna, const char *str);
void DNA_struct_switch_endian(const struct SDNA *oldsdna, int oldSDNAnr, char *data);
const char *DNA_struct_get_compareflags(const struct SDNA *sdna, const struct SDNA *newsdna);
void *DNA_struct_reconstruct(const struct DNA_ReconstructInfo *reconstruct_info,
int oldSDNAnr,
int old_struct_nr,
int blocks,
const void *data);
const void *old_blocks);
int DNA_elem_offset(struct SDNA *sdna, const char *stype, const char *vartype, const char *name);