1
0
Fork 0
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:
Qstick 2019-06-09 18:00:42 -04:00
parent 4eb815aa0e
commit 673412c446
4 changed files with 2 additions and 9 deletions

View file

@ -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,

View file

@ -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,

View file

@ -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");
}

View file

@ -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");
}