diff options
author | sr55 <[email protected]> | 2021-02-20 15:10:49 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2021-02-20 15:10:49 +0000 |
commit | 3f431102f7ba0184a18be805deb5e1bd749c1dd5 (patch) | |
tree | 2b2b8728aa1c22dfb658dfe5b383ab7132562199 /win/CS/HandBrakeWPF/Instance | |
parent | ec04633356d5519bd6f8b66c9ecb357999532978 (diff) |
WinGui: Fix a number of code warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/Instance')
-rw-r--r-- | win/CS/HandBrakeWPF/Instance/RemoteInstance.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Instance/RemoteInstance.cs b/win/CS/HandBrakeWPF/Instance/RemoteInstance.cs index 4bb52683c..14f88a221 100644 --- a/win/CS/HandBrakeWPF/Instance/RemoteInstance.cs +++ b/win/CS/HandBrakeWPF/Instance/RemoteInstance.cs @@ -79,7 +79,7 @@ namespace HandBrakeWPF.Instance } } - public async void StartEncode(JsonEncodeObject jobToStart) + public void StartEncode(JsonEncodeObject jobToStart) { if (this.IsServerRunning()) { @@ -264,7 +264,7 @@ namespace HandBrakeWPF.Instance response = await this.MakeHttpGetRequest("PollEncodeProgress"); } - catch (Exception e) + catch (Exception) { retryCount = this.retryCount + 1; } |