Skip to content

Commit f50b943

Browse files
committed
ModApi.UpdateManager: fix warnings
1 parent 24e6adf commit f50b943

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

ModApi.UpdateManager/DllsUpdater.cs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
using System.IO;
55
using System.IO.Compression;
66
using System.Linq;
7-
using System.Net;
8-
using System.Net.Http;
9-
using System.Net.Http.Headers;
107
using System.Reflection;
118
using System.Security.AccessControl;
129
using System.Security.Principal;
@@ -19,15 +16,15 @@ internal class DllsUpdater
1916

2017
public class GithubReleaseAsset
2118
{
22-
public string name;
23-
public string browser_download_url;
19+
public string name = null;
20+
public string browser_download_url = null;
2421
}
2522

2623
public class GithubRelease
2724
{
28-
public string tag_name;
29-
public string html_url;
30-
public GithubReleaseAsset[] assets;
25+
public string tag_name = null;
26+
public string html_url = null;
27+
public GithubReleaseAsset[] assets = null;
3128
}
3229

3330
private static string GithubRequestGET(string uri)

0 commit comments

Comments
 (0)