mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07: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 @@ namespace Lidarr.Http.Frontend.Mappers
|
||||||
{
|
{
|
||||||
private readonly IConfigFileProvider _configFileProvider;
|
private readonly IConfigFileProvider _configFileProvider;
|
||||||
|
|
||||||
private static string API_KEY;
|
|
||||||
|
|
||||||
public IndexHtmlMapper(IAppFolderInfo appFolderInfo,
|
public IndexHtmlMapper(IAppFolderInfo appFolderInfo,
|
||||||
IDiskProvider diskProvider,
|
IDiskProvider diskProvider,
|
||||||
IConfigFileProvider configFileProvider,
|
IConfigFileProvider configFileProvider,
|
||||||
|
|
|
@ -10,11 +10,6 @@ namespace Lidarr.Http.Frontend.Mappers
|
||||||
{
|
{
|
||||||
public class LoginHtmlMapper : HtmlMapperBase
|
public class LoginHtmlMapper : HtmlMapperBase
|
||||||
{
|
{
|
||||||
private readonly IDiskProvider _diskProvider;
|
|
||||||
private readonly string _indexPath;
|
|
||||||
|
|
||||||
private string _generatedContent;
|
|
||||||
|
|
||||||
public LoginHtmlMapper(IAppFolderInfo appFolderInfo,
|
public LoginHtmlMapper(IAppFolderInfo appFolderInfo,
|
||||||
IDiskProvider diskProvider,
|
IDiskProvider diskProvider,
|
||||||
Func<ICacheBreakerProvider> cacheBreakProviderFactory,
|
Func<ICacheBreakerProvider> cacheBreakProviderFactory,
|
||||||
|
|
|
@ -67,7 +67,7 @@ namespace NzbDrone.Core.Notifications.Plex.PlexTv
|
||||||
{
|
{
|
||||||
throw new NzbDroneClientException(ex.Response.StatusCode, "Unable to connect to plex.tv");
|
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");
|
throw new NzbDroneClientException(HttpStatusCode.BadRequest, "Unable to connect to plex.tv");
|
||||||
}
|
}
|
||||||
|
|
|
@ -189,7 +189,7 @@ namespace NzbDrone.Core.Notifications.Plex.Server
|
||||||
}
|
}
|
||||||
throw new PlexException("Unable to connect to Plex Media Server");
|
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");
|
throw new PlexException("Unable to connect to Plex Media Server");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue