Cycles: svn merge -r41205:41225 ^/trunk/blender
[blender.git] / source / blender / blenloader / intern / writefile.c
index 10cc5e85f9dd98ac9aa619a8f7d206847c6ca23d..07ece571255d3532648a2b6e75e0cc01517a196a 100644 (file)
@@ -2711,7 +2711,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);