summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-11-17 18:09:10 +0000
committersr55 <[email protected]>2018-11-17 18:09:10 +0000
commitb3b42991ebcaa3502df3ebd6e2e2cdee005de7e9 (patch)
tree2e143995c55c77694faa02e7efd9456cfb6341f2 /win
parent0350353302fec02ba00c29e4659fef05ac735bfa (diff)
WinGui: Minor Code Tidyup
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/Services/Presets/PresetService.cs2
-rw-r--r--win/CS/HandBrakeWPF/Utilities/HandBrakeApp.cs2
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs1
3 files changed, 1 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
index 8540c4774..42eb5c26f 100644
--- a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
+++ b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
@@ -167,8 +167,6 @@ namespace HandBrakeWPF.Services.Presets
this.Update(preset);
return true;
}
-
- return false;
}
/// <summary>
diff --git a/win/CS/HandBrakeWPF/Utilities/HandBrakeApp.cs b/win/CS/HandBrakeWPF/Utilities/HandBrakeApp.cs
index 4d106b839..b8a18292f 100644
--- a/win/CS/HandBrakeWPF/Utilities/HandBrakeApp.cs
+++ b/win/CS/HandBrakeWPF/Utilities/HandBrakeApp.cs
@@ -53,7 +53,7 @@ namespace HandBrakeWPF.Utilities
File.Delete(file);
}
}
- catch (Exception exc)
+ catch (Exception)
{
throw;
}
diff --git a/win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs
index eb165713e..0da1fc70b 100644
--- a/win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs
@@ -42,7 +42,6 @@ namespace HandBrakeWPF.ViewModels
private EncodeTask task;
private Source source;
private Title currentTitle;
- private bool isMkv;
private int selectedPreview = 2;
private bool isPreviousPreviewControlVisible;