mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 18:53:27 +01:00
Fix warning: Type cast is redundant (#2149)
This commit is contained in:
@@ -513,7 +513,7 @@ namespace Rssdp.Infrastructure
|
||||
return TimeSpan.Zero;
|
||||
}
|
||||
|
||||
return (TimeSpan)(headerValue.MaxAge ?? headerValue.SharedMaxAge ?? TimeSpan.Zero);
|
||||
return headerValue.MaxAge ?? headerValue.SharedMaxAge ?? TimeSpan.Zero;
|
||||
}
|
||||
|
||||
private void RemoveExpiredDevicesFromCache()
|
||||
|
||||
Reference in New Issue
Block a user