diff --git a/src/MaaWpfGui/Helper/AppIcon.cs b/src/MaaWpfGui/Helper/AppIcon.cs index 065e7b1d97..2c424b012c 100644 --- a/src/MaaWpfGui/Helper/AppIcon.cs +++ b/src/MaaWpfGui/Helper/AppIcon.cs @@ -43,7 +43,7 @@ public class AppIcon catch (Exception) { throw; - return new BitmapImage(); + // return new BitmapImage(); } } diff --git a/src/MaaWpfGui/WineCompat/FontConfig/Types.cs b/src/MaaWpfGui/WineCompat/FontConfig/Types.cs index a8ca66c501..879ac07a1d 100644 --- a/src/MaaWpfGui/WineCompat/FontConfig/Types.cs +++ b/src/MaaWpfGui/WineCompat/FontConfig/Types.cs @@ -2,6 +2,7 @@ // MaaWpfGui - A part of the MAA project // Copyright (C) 2021 MistEO and Contributors // +#pragma warning disable CS0649 using System; using System.Runtime.InteropServices;