fix for possible uninitialized RNA strings, when RNA_string_get property is not found, initialize the string to "".

This commit is contained in:
2011-08-05 06:09:30 +00:00
parent 82e863bdae
commit c946969bb9
2 changed files with 5 additions and 3 deletions

View File

@@ -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);