mirror of https://github.com/BOINC/boinc.git
- client: fix compile warning
This commit is contained in:
parent
8740e9a2b5
commit
99258dcecb
|
@ -79,7 +79,7 @@ int PROJECT::write_account_file() {
|
||||||
fprintf(f, "<project_preferences>\n%s</project_preferences>\n",
|
fprintf(f, "<project_preferences>\n%s</project_preferences>\n",
|
||||||
project_prefs.c_str()
|
project_prefs.c_str()
|
||||||
);
|
);
|
||||||
fprintf(f, gui_urls.c_str());
|
fprintf(f, "%s", gui_urls.c_str());
|
||||||
fprintf(f, "</account>\n");
|
fprintf(f, "</account>\n");
|
||||||
fclose(f);
|
fclose(f);
|
||||||
retval = boinc_rename(TEMP_ACCT_FILE_NAME, path);
|
retval = boinc_rename(TEMP_ACCT_FILE_NAME, path);
|
||||||
|
|
|
@ -33,8 +33,6 @@ PROJECT::PROJECT() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void PROJECT::init() {
|
void PROJECT::init() {
|
||||||
strcpy(_project_dir, "");
|
|
||||||
strcpy(_project_dir_absolute, "");
|
|
||||||
strcpy(master_url, "");
|
strcpy(master_url, "");
|
||||||
strcpy(authenticator, "");
|
strcpy(authenticator, "");
|
||||||
strcpy(_project_dir, "");
|
strcpy(_project_dir, "");
|
||||||
|
|
Loading…
Reference in New Issue