mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #600] [MERGED] Try to eliminate compile warnings #8398
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/600
Author: @hawken93
Created: 1/17/2019
Status: ✅ Merged
Merged: 1/24/2019
Merged by: @Bond-009
Base:
dev← Head:compile_warnings📝 Commits (5)
8fe90fbRemove unused in SocketHttpListener/WebSocket.cscc322c6Remove unused timer/timeoutstuff in SocketHttpListener7a5b09fRemove unused EntityBody* in SocketHttpListener6bf4723Remove unused in MediaBrowser.Controller47fc19bRemove unused in Mono.Nat📊 Changes
6 files changed (+1 additions, -47 deletions)
View changed files
📝
MediaBrowser.Controller/Entities/BaseItem.cs(+1 -1)📝
Mono.Nat/Upnp/Searchers/UpnpSearcher.cs(+0 -6)📝
SocketHttpListener/HttpBase.cs(+0 -18)📝
SocketHttpListener/HttpResponse.cs(+0 -4)📝
SocketHttpListener/Net/HttpConnection.cs(+0 -9)📝
SocketHttpListener/WebSocket.cs(+0 -9)📄 Description
Trying to remove compilation warnings.
Here are some I'm not experienced enough to fix:
If you can help me remove more of the warnings, I will probably learn more about C#.
Changes
Issues
None, but it may create some :-p Alternately, the issues we don't know about yet.
By moving some stuff to the parent class, the logic seems more correct so I assume this will fix some issues that can stem from the parent class not having correct data. I checked that removed functions were implemented exactly the same and depended on common factors only.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.