Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-13 03:09:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-13 03:09:07 +0300
commitba6cf3cdb6495db7f023a07cf0253c5970211a40 (patch)
tree8a1eb42fd81c31cd3231de197d41235bf70aa975 /source/blender/makesdna/intern/makesdna.c
parent4d890f3778582da1b6a9ecc030d1c80079bc8f28 (diff)
Cleanup: rename variable name for DNA utils
Rename 'elem_dna' to 'elem_full' to signify it has array/pointer chars.
Diffstat (limited to 'source/blender/makesdna/intern/makesdna.c')
-rw-r--r--source/blender/makesdna/intern/makesdna.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index e2616d91b27..d5a2afd8824 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -975,7 +975,7 @@ void printStructLengths(void)
static int make_structDNA(const char *baseDirectory, FILE *file, FILE *file_offsets)
{
- int len, i;
+ int i;
const short *sp;
/* str contains filenames. Since we now include paths, I stretched */
/* it a bit. Hope this is enough :) -nzc- */
@@ -1085,7 +1085,7 @@ static int make_structDNA(const char *baseDirectory, FILE *file, FILE *file_offs
}
else {
const char nil_bytes[4] = {0};
- int len_align;
+ int len, len_align;
dna_write(file, "SDNA", 4);