summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-12-08 15:28:38 +0000
committersr55 <[email protected]>2018-12-08 15:28:38 +0000
commit14058f3ca4f1f31a65f96344426305a659eaa3eb (patch)
treec3ca42688e2d68d16997d85c5108a8b75990714f /win/CS/HandBrakeWPF/Services
parent5ed3665f950aa4370b5dcf039aff75236070f9b3 (diff)
WinGui: Fix a number of build warnings. Fixes #1720 and #1721 and a few other warnings in the code.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r--win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs b/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs
index 193fc35bd..d71be495b 100644
--- a/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs
+++ b/win/CS/HandBrakeWPF/Services/Scan/Model/Audio.cs
@@ -187,7 +187,7 @@ namespace HandBrakeWPF.Services.Scan.Model
int result = this.TrackNumber;
result = (result * 397) ^ (this.Language != null ? this.Language.GetHashCode() : 0);
result = (result * 397) ^ (this.LanguageCode != null ? this.LanguageCode.GetHashCode() : 0);
- result = (result * 397) ^ (this.Codec != null ? this.Codec.GetHashCode() : 0);
+ result = (result * 397) ^ (this.Codec.GetHashCode());
return result;
}
}