svn merge ^/trunk/blender -r41200:41226 .
[blender.git] / source / blender / blenloader / intern / writefile.c
index d216aaa75ba79ff5eaab5f842ad5af5f831ef328..7c0ac79545b30828babd3a944221bce13cfd0506 100644 (file)
@@ -2702,7 +2702,6 @@ int BLO_write_file(Main *mainvar, const char *filepath, int write_flags, ReportL
                }
        }
 
-       userfilename[0]= '\0'; /* ensure its initialized */
        BLI_make_file_string(G.main->name, userfilename, BLI_get_folder_create(BLENDER_USER_CONFIG, NULL), BLENDER_STARTUP_FILE);
        write_user_block= (BLI_path_cmp(filepath, userfilename) == 0);