summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorj-h.choi <j-h.choi@samsung.com>2022-08-11 14:52:04 +0900
committer조웅석/Common Platform Lab(SR)/삼성전자 <ws77.cho@samsung.com>2022-08-24 09:39:40 +0900
commit7c8fb821f96e7d5aac3fa75c512c2d881bfdba91 (patch)
tree314792da88fa20cbbcfdf9becaf7eaffbe6e5e82
parentb406d5d9042d688f579bc3eff0a859c1026fe6c5 (diff)
downloadlauncher-7c8fb821f96e7d5aac3fa75c512c2d881bfdba91.tar.gz
launcher-7c8fb821f96e7d5aac3fa75c512c2d881bfdba91.tar.bz2
launcher-7c8fb821f96e7d5aac3fa75c512c2d881bfdba91.zip
Fixed build warningsubmit/tizen/20220825.083931
Change-Id: Iafff976b1ad4fa3556260f0709058a7fe573ffeb
-rw-r--r--Managed/Tizen.Runtime/Profiler.cs1
-rw-r--r--NativeLauncher/tool/ni_common.cc13
2 files changed, 1 insertions, 13 deletions
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()