mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Reduced compiler warnings. No functional changes (except MediaEncoder.cs and AutomaticRestartEntryPoint.cs)
This commit is contained in:
@@ -606,7 +606,7 @@ namespace MediaBrowser.Server.Startup.Common
|
||||
{
|
||||
return new ImageMagickEncoder(LogManager.GetLogger("ImageMagick"), ApplicationPaths, HttpClient, FileSystemManager, ServerConfigurationManager);
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
Logger.Error("Error loading ImageMagick. Will revert to GDI.");
|
||||
}
|
||||
@@ -616,7 +616,7 @@ namespace MediaBrowser.Server.Startup.Common
|
||||
{
|
||||
return new GDIImageEncoder(FileSystemManager, LogManager.GetLogger("GDI"));
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
Logger.Error("Error loading GDI. Will revert to NullImageEncoder.");
|
||||
}
|
||||
@@ -1412,7 +1412,7 @@ namespace MediaBrowser.Server.Startup.Common
|
||||
{
|
||||
return new Uri(externalDns).Host;
|
||||
}
|
||||
catch (Exception e)
|
||||
catch
|
||||
{
|
||||
return externalDns;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user