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>2017-11-29 06:29:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-11-29 06:29:47 +0300
commitddc7e72fe1f1275e2e9f9ee858c80e6b375c5820 (patch)
tree08ef5b2f7424a52b0eae3733448c3fd4db6355fe /source/blender/makesrna/intern/rna_access.c
parent0c8265c0a9f104d2a27d6ce5c124198239430d08 (diff)
RNA: remove paranoid NULL check
Was added as part of D2666.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r--source/blender/makesrna/intern/rna_access.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index 22938de1ba9..49b50858f93 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -2921,9 +2921,6 @@ char *RNA_property_string_get_alloc(PointerRNA *ptr, PropertyRNA *prop,
int length;
BLI_assert(RNA_property_type(prop) == PROP_STRING);
- if (!ptr->data) {
- return NULL;
- }
length = RNA_property_string_length(ptr, prop);