[NUI] Disable compiler warnings complaining about theme off in TV profile
authorJiyun Yang <ji.yang@samsung.com>
Fri, 3 Feb 2023 01:21:17 +0000 (10:21 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Fri, 3 Feb 2023 02:18:28 +0000 (11:18 +0900)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI.Components/Theme/DefaultTheme.cs
src/Tizen.NUI/src/public/Theme/ThemeManager.cs

index 332d9a9..1202042 100755 (executable)
@@ -14,7 +14,7 @@
  * limitations under the License.
  *
  */
-
+#pragma warning disable CS0162 // Unreachable code detected: Some lines can be unreachable in TV profile
 namespace Tizen.NUI.Components
 {
     internal partial class DefaultThemeCreator
@@ -35,4 +35,4 @@ namespace Tizen.NUI.Components
         }
     }
 }
-
+#pragma warning restore CS0162
index 2f8d678..535bece 100755 (executable)
@@ -21,6 +21,7 @@ using System.Diagnostics;
 using System.Diagnostics.CodeAnalysis;
 using Tizen.NUI.BaseComponents;
 
+#pragma warning disable CS0162 // Unreachable code detected: Some lines can be unreachable in TV profile
 namespace Tizen.NUI
 {
     /// <summary>
@@ -534,3 +535,4 @@ namespace Tizen.NUI
         }
     }
 }
+#pragma warning restore CS0162 // Unreachable code detected