diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 20:58:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 20:58:06 +0300 |
commit | 709c727c510a85426b87a9a2fb7fb8517fef7de9 (patch) | |
tree | c4664d4773eb77cbf38ee264e9189a6557a310c4 /source/blender/makesrna/intern/rna_animation.c | |
parent | 3326c0ca7523f5596a8ff96cb90a54b92e50ac5f (diff) |
replace 0 with NULL when used as a pointer
Diffstat (limited to 'source/blender/makesrna/intern/rna_animation.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_animation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_animation.c b/source/blender/makesrna/intern/rna_animation.c index d80e2c0c465..b690a4f419a 100644 --- a/source/blender/makesrna/intern/rna_animation.c +++ b/source/blender/makesrna/intern/rna_animation.c @@ -169,9 +169,9 @@ static void rna_KeyingSetInfo_unregister(const bContext *C, StructRNA *type) static StructRNA *rna_KeyingSetInfo_register(bContext *C, ReportList *reports, void *data, const char *identifier, StructValidateFunc validate, StructCallbackFunc call, StructFreeFunc free) { - KeyingSetInfo dummyksi = {0}; + KeyingSetInfo dummyksi = {NULL}; KeyingSetInfo *ksi; - PointerRNA dummyptr = {{0}}; + PointerRNA dummyptr = {{NULL}}; int have_function[3]; /* setup dummy type info to store static properties in */ |