diff --git a/client/cs_account.C b/client/cs_account.C index 7aba54c75f..c286831c61 100644 --- a/client/cs_account.C +++ b/client/cs_account.C @@ -80,13 +80,6 @@ int PROJECT::write_account_file() { fprintf(f, "\n"); fclose(f); retval = boinc_rename(TEMP_FILE_NAME, path); -#ifdef _WIN32 - char error[4096]; - msg_printf(0, MSG_ERROR, - "Can't rename file %s to %s; %s", - TEMP_FILE_NAME, path, windows_error_string(error, sizeof(error)) - ); -#endif if (retval) return ERR_RENAME; return 0; } @@ -394,13 +387,6 @@ int PROJECT::write_statistics_file() { fclose(f); retval = boinc_rename(TEMP_FILE_NAME, path); -#ifdef _WIN32 - char error[4096]; - msg_printf(0, MSG_ERROR, - "Can't rename file %s to %s; %s", - TEMP_FILE_NAME, path, windows_error_string(error, sizeof(error)) - ); -#endif if (retval) return ERR_RENAME; return 0; }