From 2257c6b542c3bbf76619f60093fb9ee78631735f Mon Sep 17 00:00:00 2001 From: Cho Woong Suk Date: Wed, 23 Aug 2017 11:33:23 +0900 Subject: [PATCH] comment out unused code and change log Change-Id: I944f7ad3320bd5a15d20332ba1934fc60b162a42 --- NativeLauncher/installer-plugin/common.cc | 1 - NativeLauncher/launcher/main.cc | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/NativeLauncher/installer-plugin/common.cc b/NativeLauncher/installer-plugin/common.cc index f84e79c..f7fc71b 100644 --- a/NativeLauncher/installer-plugin/common.cc +++ b/NativeLauncher/installer-plugin/common.cc @@ -63,7 +63,6 @@ static const char* __JIT_PATH = __STR(RUNTIME_DIR)"/libclrjit.so"; #undef __STR #undef __XSTR - #if 0 static std::string replace(std::string &str, const std::string& from, const std::string& to) { diff --git a/NativeLauncher/launcher/main.cc b/NativeLauncher/launcher/main.cc index a3ad62b..0922908 100644 --- a/NativeLauncher/launcher/main.cc +++ b/NativeLauncher/launcher/main.cc @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) std::vector vargs; // start index 1 to avoid passing executable name "dotnet-launcher" as a parameter - for (i = 1; i launch(appId, appRoot.c_str(), standalonePath, argsLen, args)) { _ERR("Failed to launch"); - return 0; + return 1; } } else { Launchpad.onCreate = [&runtime]() { @@ -118,7 +118,7 @@ int main(int argc, char *argv[]) }; Launchpad.onTerminate = [&runtime](const AppInfo& appInfo, int argc, char** argv) { - _DBG("terminated with app path : %s", appInfo.path.c_str()); + _DBG("launch request with app path : %s", appInfo.path.c_str()); _DBG("appId : %s", appInfo.id.c_str()); _DBG("pkg : %s", appInfo.pkg.c_str()); _DBG("type : %s", appInfo.type.c_str()); -- 2.7.4