diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-12 08:12:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-12 08:12:26 +0300 |
commit | 92672d0c1c2797d0068f5f71b13b5e521253b618 (patch) | |
tree | 38edc43df2ed2dbf44e3170e9e9fb9a45df8da2d /source/blender/makesdna/intern | |
parent | 5470a7af5dfd3a3f8070bddfd8dab496c6229720 (diff) |
quiet some clang warnings.
Diffstat (limited to 'source/blender/makesdna/intern')
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index e66cfd44a50..7762ce170df 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -269,7 +269,7 @@ int add_name(char *str) additional_slen_offset = 0; - if((str[0]==0) /* || (str[1]==0) */) return -1; + if(str[0]==0 /* || (str[1]==0) */) return -1; if (str[0] == '(' && str[1] == '*') { /* we handle function pointer and special array cases here, e.g. @@ -281,7 +281,6 @@ int add_name(char *str) if (debugSDNA > 3) printf("\t\t\t\t*** Function pointer or multidim array pointer found\n"); /* functionpointer: transform the type (sometimes) */ i = 0; - j = 0; while (str[i] != ')') { buf[i] = str[i]; |