From: j-h.choi Date: Thu, 11 Aug 2022 05:52:04 +0000 (+0900) Subject: Fixed build warning X-Git-Tag: submit/tizen/20220825.083931^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fdotnet%2Flauncher.git;a=commitdiff_plain;h=7c8fb821f96e7d5aac3fa75c512c2d881bfdba91 Fixed build warning Change-Id: Iafff976b1ad4fa3556260f0709058a7fe573ffeb --- diff --git a/Managed/Tizen.Runtime/Profiler.cs b/Managed/Tizen.Runtime/Profiler.cs index 9c40707..c9c95f2 100644 --- a/Managed/Tizen.Runtime/Profiler.cs +++ b/Managed/Tizen.Runtime/Profiler.cs @@ -23,7 +23,6 @@ namespace Tizen.Runtime { public class Profiler { - const string profilePath = "/home/owner/data/.__tizen_candidate_profile_data"; private static void stop() diff --git a/NativeLauncher/tool/ni_common.cc b/NativeLauncher/tool/ni_common.cc index 0b3134f..cecda2a 100644 --- a/NativeLauncher/tool/ni_common.cc +++ b/NativeLauncher/tool/ni_common.cc @@ -75,7 +75,7 @@ static const char* CROSSGEN_OPT_SINGLE_FILE_COMPILATION = "--single-file-compila //static const char* CROSSGEN_OPT_PARALLELISM = "--parallelism"; //static const char* CROSSGEN_OPT_PARALLELISM_COUNT = "5"; static const char* CROSSGEN_OPT_RESILIENT = "--resilient"; -static const char* CROSSGEN_OPT_OPTIMIZE = "-O"; +//static const char* CROSSGEN_OPT_OPTIMIZE = "-O"; static const char* CROSSGEN_OPT_OPTIMIZE_TIME = "--Ot"; static const char* CROSSGEN_OPT_INPUTBUBBLE = "--inputbubble"; static const char* CROSSGEN_OPT_COMPILE_BUBBLE_GENERICS = "--compilebubblegenerics"; @@ -111,17 +111,6 @@ static void waitInterval() } #ifdef UNIQUE_DEFAULT_BASE_ADDR_SUPPORT -static uintptr_t getFileSize(const std::string& path) -{ - struct stat sb; - - if (stat(path.c_str(), &sb) == 0) { - return sb.st_size; - } - - return 0; -} - // Get next base address to be used for system ni image from file // __SYSTEM_BASE_FILE should be checked for existance before calling this function static uintptr_t getNextBaseAddrFromFile()