Skip to content

Commit 0bb6002

Browse files
committed
Fix compilation error
Apparently multi_update.cpp isn't used anywhere in the code. That file could be removed in the future.
1 parent 519e89b commit 0bb6002

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

code/network/multi_update.cpp

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,7 @@ char Multi_update_error_string[512];
4040
// initialize the http xfer of the version info file, return 1 on success
4141
int multi_update_http_init()
4242
{
43-
char url_file[512] = "";
44-
char local_file[512] = "";
45-
46-
// url
47-
strcpy_s(url_file, VERSION_URL);
48-
49-
// local file
50-
strcpy_s(local_file, Cfile_root_dir);
51-
strcat_s(local_file, DIR_SEPARATOR_STR);
52-
strcat_s(local_file, VERSION_LOC_FNAME);
53-
54-
// new file
55-
Multi_update_get = new InetGetFile(url_file, local_file);
56-
if(Multi_update_get == NULL){
57-
// error string
58-
strcpy_s(Multi_update_error_string, XSTR("Could not get data from website", 977));
59-
60-
return 0;
61-
}
62-
63-
return 1;
43+
return 0;
6444
}
6545

6646
// do frame for the popup. returns 0 if not done yet, 1 if succeeded, 2 on error

0 commit comments

Comments
 (0)