mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
Remove redundant statement
This commit is contained in:
parent
80e22d9670
commit
bf4829a38c
@ -33,8 +33,7 @@ namespace MediaBrowser.Common.Extensions
|
|||||||
int n = list.Count;
|
int n = list.Count;
|
||||||
while (n > 1)
|
while (n > 1)
|
||||||
{
|
{
|
||||||
n--;
|
int k = rng.Next(n--);
|
||||||
int k = rng.Next(n + 1);
|
|
||||||
T value = list[k];
|
T value = list[k];
|
||||||
list[k] = list[n];
|
list[k] = list[n];
|
||||||
list[n] = value;
|
list[n] = value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user