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>2011-08-05 10:09:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-08-05 10:09:30 +0400
commitc946969bb90c177319c183e7155c6f360230ea2f (patch)
tree9ee13da640900d19ce003314fdd306f18031dcd1 /source/blender/windowmanager
parent82e863bdae70b1297318aa7fd98f72cab074ef66 (diff)
fix for possible uninitialized RNA strings, when RNA_string_get property is not found, initialize the string to "".
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 5a05be0fefc..7238cede2cc 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1621,7 +1621,6 @@ static int wm_link_append_exec(bContext *C, wmOperator *op)
int idcode, totfiles=0;
short flag;
- name[0] = '\0';
RNA_string_get(op->ptr, "filename", name);
RNA_string_get(op->ptr, "directory", dir);