mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
Fix warnings.
This commit is contained in:
@@ -84,11 +84,11 @@ namespace Aaru.CommonTypes.Interop
|
||||
var principal = new WindowsPrincipal(user);
|
||||
isAdmin = principal.IsInRole(WindowsBuiltInRole.Administrator);
|
||||
}
|
||||
catch(UnauthorizedAccessException ex)
|
||||
catch(UnauthorizedAccessException)
|
||||
{
|
||||
isAdmin = false;
|
||||
}
|
||||
catch(Exception ex)
|
||||
catch(Exception)
|
||||
{
|
||||
isAdmin = false;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
|
||||
using Schemas;
|
||||
|
||||
#pragma warning disable 612
|
||||
|
||||
namespace Aaru.CommonTypes.Metadata
|
||||
{
|
||||
public static class Dimensions
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
// Copyright © 2011-2020 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
|
||||
#pragma warning disable 612
|
||||
namespace Aaru.CommonTypes.Metadata
|
||||
{
|
||||
public static class MediaType
|
||||
|
||||
Reference in New Issue
Block a user