Skip to content

Commit

Permalink
chore: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Nov 22, 2023
1 parent 1070f11 commit a4130cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
11 changes: 0 additions & 11 deletions source/cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,17 +482,6 @@ bool app_package_and_activity(int client_type, std::string& package, std::string
return true;
}

bool match_adb_address(const std::string& adb_address, MaaSize& index, const MaaSize& device_size)
{
for (MaaSize i = 0; i < device_size; i++) {
if (adb_address == MaaToolKitGetDeviceAdbSerial(i)) {
index = i;
return true;
}
}
return false;
}

json::value dorm_param()
{
json::value param;
Expand Down
2 changes: 0 additions & 2 deletions source/cli/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ json::value close_game_param();

bool app_package_and_activity(int client_type, std::string& package, std::string& activity);

bool match_adb_address(const std::string& adb_address, MaaSize& index, const MaaSize& device_size);

std::string TaskStatus(MaaStatus status);

void mpause();

0 comments on commit a4130cc

Please sign in to comment.