aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Sorting/AlphanumComparator.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-06-06 09:16:41 -0600
committerGitHub <noreply@github.com>2021-06-06 17:16:41 +0200
commitd461e3912a1dfb59a22234e434497b72834de66b (patch)
treef55962cf8426c05f4daf4eacc6922fba353970d1 /MediaBrowser.Controller/Sorting/AlphanumComparator.cs
parent9154f20b3404fb818b8c2e74af038547d2c16c40 (diff)
Remove warninigs from MediaBrowser.Controller (Part 3) (#6078)
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'MediaBrowser.Controller/Sorting/AlphanumComparator.cs')
-rw-r--r--MediaBrowser.Controller/Sorting/AlphanumComparator.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Sorting/AlphanumComparator.cs b/MediaBrowser.Controller/Sorting/AlphanumComparator.cs
index 4d9b98889..e00cadca2 100644
--- a/MediaBrowser.Controller/Sorting/AlphanumComparator.cs
+++ b/MediaBrowser.Controller/Sorting/AlphanumComparator.cs
@@ -121,7 +121,9 @@ namespace MediaBrowser.Controller.Sorting
return result;
}
}
+#pragma warning disable SA1500 // TODO remove with StyleCop.Analyzers v1.2.0 https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/3196
} while (pos1 < len1 && pos2 < len2);
+#pragma warning restore SA1500
return len1 - len2;
}