Fix fossbot warnings

Description: Fix fossbot warnings in runtime.h

Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5II5N

Test: Compiling & UT

Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
This commit is contained in:
shawn_hu_ls 2022-07-22 18:08:12 +08:00
parent 4e3c78d612
commit 2ac82110d9

View File

@ -218,34 +218,6 @@ public:
// Returns true if profile saving is enabled.
bool SaveProfileInfo() const;
const std::string &GetProcessPackageName() const
{
return process_package_name_;
}
void SetProcessPackageName(const char *package_name)
{
if (package_name == nullptr) {
process_package_name_.clear();
} else {
process_package_name_ = package_name;
}
}
const std::string &GetProcessDataDirectory() const
{
return process_data_directory_;
}
void SetProcessDataDirectory(const char *data_dir)
{
if (data_dir == nullptr) {
process_data_directory_.clear();
} else {
process_data_directory_ = data_dir;
}
}
std::string GetPandaPath()
{
return panda_path_string_;
@ -473,10 +445,6 @@ private:
os::memory::Mutex debug_session_uniqueness_mutex_ {};
DebugSessionHandle debug_session_ {};
// Additional VMInfo
std::string process_package_name_;
std::string process_data_directory_;
// For saving class path.
std::string panda_path_string_;