From: Youngjae Shin Date: Mon, 25 Sep 2017 07:15:23 +0000 (+0900) Subject: fix build warning X-Git-Tag: submit/tizen_4.0/20170927.000258 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen_4.0%2F20170927.000258;p=platform%2Fcore%2Fdotnet%2Flauncher.git fix build warning Change-Id: I67138414a61ba4594920830b4ad95e3f72b62e23 (cherry picked from commit 3f04bea75943d9cb11c1bf861ade7993e0ff74d4) --- diff --git a/NativeLauncher/installer-plugin/common.cc b/NativeLauncher/installer-plugin/common.cc index 74b6f18..4d5feeb 100644 --- a/NativeLauncher/installer-plugin/common.cc +++ b/NativeLauncher/installer-plugin/common.cc @@ -64,6 +64,7 @@ static const char* __JIT_PATH = __STR(RUNTIME_DIR)"/libclrjit.so"; #undef __XSTR +#if 0 static std::string replace(std::string &str, const std::string& from, const std::string& to) { size_t startPos = 0; @@ -73,6 +74,7 @@ static std::string replace(std::string &str, const std::string& from, const std: } return str; } +#endif static void smack_(const char* dllPath, const char* label) { diff --git a/Tizen.Runtime/CoreClr/AssemblyManager.cs b/Tizen.Runtime/CoreClr/AssemblyManager.cs index d8b19f5..60b3e54 100644 --- a/Tizen.Runtime/CoreClr/AssemblyManager.cs +++ b/Tizen.Runtime/CoreClr/AssemblyManager.cs @@ -96,8 +96,8 @@ namespace Tizen.Runtime.Coreclr { try { - /// Set UnhandledException handler with reflection - /// we must replace this to no reflection method after AppDomain is comming in used net standard + // Set UnhandledException handler with reflection + // we must replace this to no reflection method after AppDomain is comming in used net standard TypeInfo appdomainType = Type.GetType("System.AppDomain").GetTypeInfo(); PropertyInfo currentDomain = appdomainType.GetProperty("CurrentDomain", BindingFlags.Public | BindingFlags.Static);