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>2011-11-28 03:41:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-28 03:41:01 +0400
commita2e10608626a9b3bd8a17cf4264a54ce2f03ed6f (patch)
treed6635e2f0d3f83608097bda46d12d4d3cc57812b /source/blender/makesdna/intern
parent1ca7c2e4f3b8dd224782f5c05333fd327d7bc3b3 (diff)
quiet some warnings and logical errors.
- curve map insert point had a nested loop which used the same value to index different arrays. - dynamic paint used ternary operator where both outcomes were the same.
Diffstat (limited to 'source/blender/makesdna/intern')
-rw-r--r--source/blender/makesdna/intern/makesdna.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index 64893420db4..b9bd2c073bf 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -309,8 +309,9 @@ static int add_name(const char *str)
if (debugSDNA > 3) printf("seen %c ( %d) \n", str[j], str[j]);
j++;
}
- if (debugSDNA > 3) printf("seen %c ( %d) \n", str[j], str[j]);
- if (debugSDNA > 3) printf("special after offset %d\n", j);
+ if (debugSDNA > 3) printf("seen %c ( %d) \n"
+ "special after offset%d\n",
+ str[j], str[j], j);
if (!isfuncptr) {
/* multidimensional array pointer case */