fix ci warnings in dbg
This commit is contained in:
parent
697c924089
commit
71f92a5b6d
|
@ -980,7 +980,8 @@ bool DebugServices::IsWatchPointNodeInput(const std::string &w_name, const CNode
|
|||
auto input_kernel = kernel->input(j + 1);
|
||||
std::string input_kernel_name = GetKernelNodeName(input_kernel);
|
||||
auto found = w_name.find_last_of('/');
|
||||
if (found != std::string::npos && w_name.substr(found + 1) == input_kernel_name) return true;
|
||||
if (found != std::string::npos && w_name.size() > found && w_name.substr(found + 1) == input_kernel_name)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
} else {
|
||||
|
|
|
@ -69,6 +69,7 @@ Debugger::Debugger()
|
|||
device_target_(""),
|
||||
num_step_(0),
|
||||
debugger_enabled_(false),
|
||||
suspended_at_last_kernel_(false),
|
||||
run_level_(""),
|
||||
node_name_(""),
|
||||
cur_name_(""),
|
||||
|
|
Loading…
Reference in New Issue