mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-26 15:52:42 +00:00
Fixed: Remove Unused Variables to Clear Compiler Warnings
This commit is contained in:
parent
4eb815aa0e
commit
673412c446
4 changed files with 2 additions and 9 deletions
|
@ -11,8 +11,6 @@ public class IndexHtmlMapper : HtmlMapperBase
|
|||
{
|
||||
private readonly IConfigFileProvider _configFileProvider;
|
||||
|
||||
private static string API_KEY;
|
||||
|
||||
public IndexHtmlMapper(IAppFolderInfo appFolderInfo,
|
||||
IDiskProvider diskProvider,
|
||||
IConfigFileProvider configFileProvider,
|
||||
|
|
|
@ -10,11 +10,6 @@ namespace Lidarr.Http.Frontend.Mappers
|
|||
{
|
||||
public class LoginHtmlMapper : HtmlMapperBase
|
||||
{
|
||||
private readonly IDiskProvider _diskProvider;
|
||||
private readonly string _indexPath;
|
||||
|
||||
private string _generatedContent;
|
||||
|
||||
public LoginHtmlMapper(IAppFolderInfo appFolderInfo,
|
||||
IDiskProvider diskProvider,
|
||||
Func<ICacheBreakerProvider> cacheBreakProviderFactory,
|
||||
|
|
|
@ -67,7 +67,7 @@ private string ProcessRequest(HttpRequestBuilder requestBuilder)
|
|||
{
|
||||
throw new NzbDroneClientException(ex.Response.StatusCode, "Unable to connect to plex.tv");
|
||||
}
|
||||
catch (WebException ex)
|
||||
catch (WebException)
|
||||
{
|
||||
throw new NzbDroneClientException(HttpStatusCode.BadRequest, "Unable to connect to plex.tv");
|
||||
}
|
||||
|
|
|
@ -189,7 +189,7 @@ private string ProcessRequest(HttpRequestBuilder requestBuilder)
|
|||
}
|
||||
throw new PlexException("Unable to connect to Plex Media Server");
|
||||
}
|
||||
catch (WebException ex)
|
||||
catch (WebException)
|
||||
{
|
||||
throw new PlexException("Unable to connect to Plex Media Server");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue