diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-16 14:43:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-16 15:00:29 +0400 |
commit | 348cf17448624c66711465d373fc0c46fa000863 (patch) | |
tree | 6b4152ed944218550f6966271f9e7a95fe523b9b /source/blender/makesrna/intern/rna_object_api.c | |
parent | 9f167908402dae589f8e230115f0439faa4a086c (diff) |
Code Cleanup: no need to pass empty strings as default values
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c index 85e0d91fc71..fc97a32f3a7 100644 --- a/source/blender/makesrna/intern/rna_object_api.c +++ b/source/blender/makesrna/intern/rna_object_api.c @@ -588,7 +588,7 @@ void RNA_api_object(StructRNA *srna) parm = RNA_def_enum(func, "type", mesh_dm_info_items, 0, "", "Modifier settings to apply"); RNA_def_property_flag(parm, PROP_REQUIRED); /* weak!, no way to return dynamic string type */ - parm = RNA_def_string(func, "result", "", 16384, "result", ""); + parm = RNA_def_string(func, "result", NULL, 16384, "result", ""); RNA_def_property_flag(parm, PROP_THICK_WRAP); /* needed for string return value */ RNA_def_function_output(func, parm); #endif /* NDEBUG */ |