diff options
author | Hans Goudey <h.goudey@me.com> | 2020-10-01 20:45:21 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-10-01 20:45:21 +0300 |
commit | 4c0ef4f788a1037888d5cb0a87ac23d6fe84573e (patch) | |
tree | dfa3787298e91c30b731cc0b385d93ef4442ce03 /source/blender/makesdna/DNA_genfile.h | |
parent | b6f15d5d47bfdc1b24d5b17e46bac280d8b9a63d (diff) |
Cleanup: Clang tidy fixes
Fix a redundant return statement at the end of void function and
an inconsistent declaration parameter names.
Diffstat (limited to 'source/blender/makesdna/DNA_genfile.h')
-rw-r--r-- | source/blender/makesdna/DNA_genfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_genfile.h b/source/blender/makesdna/DNA_genfile.h index b09b6dcd8e4..96766bf16b8 100644 --- a/source/blender/makesdna/DNA_genfile.h +++ b/source/blender/makesdna/DNA_genfile.h @@ -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); |