chore: 删除一些注释

This commit is contained in:
MistEO
2022-11-18 21:44:02 +08:00
committed by GitHub
parent 5c7edb2d6a
commit 98e3f22bd6

View File

@@ -605,8 +605,6 @@ bool asst::Controller::call_and_hup_minitouch(const std::string& cmd)
::dup2(::open("/dev/null", O_WRONLY), pipe_from_child[0]);
std::ignore = PipeWriteBuffSize;
#endif // _WIN32
Log.info("pipe str", Logger::separator::newline, pipe_str);
@@ -1276,7 +1274,6 @@ bool asst::Controller::connect(const std::string& adb_path, const std::string& a
{
m_adb.connect = cmd_replace(adb_cfg.connect);
auto connect_ret = call_command(m_adb.connect, 60LL * 1000, false /* adb 连接时不允许重试 */);
// 端口即使错误命令仍然会返回0TODO 对connect_result进行判断
bool is_connect_success = false;
if (connect_ret) {
auto& connect_str = connect_ret.value();