Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e485bdf0 authored by Josh Gao's avatar Josh Gao
Browse files

adbd: delete unused variable.

Bug: https://issuetracker.google.com/150827486
Test: m adb com.android.adbd.apex
Change-Id: I90e10c74d695659c702dea4173cb33ac5ca1a102
parent 6e697f2f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -591,7 +591,6 @@ static bool do_send_v2(int s, const std::string& path, std::vector<char>& buffer
static bool recv_uncompressed(borrowed_fd s, unique_fd fd, std::vector<char>& buffer) {
    syncmsg msg;
    msg.data.id = ID_DATA;
    std::optional<BrotliEncoder<SYNC_DATA_MAX>> encoder;
    while (true) {
        int r = adb_read(fd.get(), &buffer[0], buffer.size() - sizeof(msg.data));
        if (r <= 0) {