fix for possible uninitialized RNA strings, when RNA_string_get property is not found...
[blender.git] / source / blender / windowmanager / intern / wm_operators.c
index 5a05be0fefc0a19c56cc2ce31eb0e1b151aa3bad..7238cede2ccdbcb22e346649aa0c75f61ade9605 100644 (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);