summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-01-02 21:15:56 +0000
committersr55 <[email protected]>2014-01-02 21:15:56 +0000
commite6b6f7bd7c7da9c0f8fb100613b40140911398d1 (patch)
tree4670294f44b947f7166bc860f5742b98186c0516 /win/CS/HandBrake.ApplicationServices/Services
parentc6e405a1d3f44745af4439129ae3cc48a6b6ffcb (diff)
WinGui: cleanup some warnings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5952 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs6
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/PresetService.cs2
2 files changed, 4 insertions, 4 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
index f97355ad5..57e4bfd71 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
@@ -34,7 +34,7 @@ namespace HandBrake.ApplicationServices.Services
/// <summary>
/// Lock for the log file
/// </summary>
- private static readonly object logLock = new object();
+ private static readonly object LogLock = new object();
/// <summary>
/// The instance.
@@ -244,7 +244,7 @@ namespace HandBrake.ApplicationServices.Services
{
if (this.loggingEnabled)
{
- lock (logLock)
+ lock (LogLock)
{
this.ProcessLogMessage(e.Message);
}
@@ -264,7 +264,7 @@ namespace HandBrake.ApplicationServices.Services
{
if (this.loggingEnabled)
{
- lock (logLock)
+ lock (LogLock)
{
this.ProcessLogMessage(e.Message);
}
diff --git a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
index 7bc569ed7..8de36ca7f 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
@@ -409,7 +409,7 @@ namespace HandBrake.ApplicationServices.Services
}
}
}
- catch(IOException)
+ catch (IOException)
{
// Give up
}