Fixed build warning submit/tizen/20220825.083931
authorj-h.choi <j-h.choi@samsung.com>
Thu, 11 Aug 2022 05:52:04 +0000 (14:52 +0900)
committer조웅석/Common Platform Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Wed, 24 Aug 2022 00:39:40 +0000 (09:39 +0900)
Change-Id: Iafff976b1ad4fa3556260f0709058a7fe573ffeb

Managed/Tizen.Runtime/Profiler.cs
NativeLauncher/tool/ni_common.cc

index 9c40707..c9c95f2 100644 (file)
@@ -23,7 +23,6 @@ namespace Tizen.Runtime
 {
     public class Profiler
     {
-
         const string profilePath = "/home/owner/data/.__tizen_candidate_profile_data";
 
         private static void stop()
index 0b3134f..cecda2a 100644 (file)
@@ -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()