diff options
author | sr55 <[email protected]> | 2014-01-02 21:15:56 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-01-02 21:15:56 +0000 |
commit | e6b6f7bd7c7da9c0f8fb100613b40140911398d1 (patch) | |
tree | 4670294f44b947f7166bc860f5742b98186c0516 /win/CS/HandBrake.ApplicationServices/Services | |
parent | c6e405a1d3f44745af4439129ae3cc48a6b6ffcb (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.cs | 6 | ||||
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/PresetService.cs | 2 |
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
}
|