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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-22 22:19:18 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-22 22:19:18 +0400
commite7d02e567990b8cac05565501e0b74a9bb195a6d (patch)
tree3e96cef1967c7c07e421303a2ebe6c984fa2f2ee /source/blender/makesrna/intern/rna_access.c
parentbce3f7e019c174947a0f98063f39533eb59ab03e (diff)
2.5: warning fixes
Mostly harmless ones, except for one about "gzopen64" being undeclared. This needs some defines in BLI_storage.h to be set before <unistd.h> is included. Might fix a crash in compressed file reading, though I'm not sure since it's hard to repeat the crash consistently.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r--source/blender/makesrna/intern/rna_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index 13686809cd2..c806f1885ba 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -694,7 +694,7 @@ int RNA_enum_name(const EnumPropertyItem *item, const int value, const char **na
int RNA_property_enum_identifier(PointerRNA *ptr, PropertyRNA *prop, const int value, const char **identifier)
{
const EnumPropertyItem *item;
- int totitem, i;
+ int totitem;
RNA_property_enum_items(ptr, prop, &item, &totitem);