Skip to content

Commit e485bdf

Browse files
committed
adbd: delete unused variable.
Bug: https://issuetracker.google.com/150827486 Test: m adb com.android.adbd.apex Change-Id: I90e10c74d695659c702dea4173cb33ac5ca1a102
1 parent 6e697f2 commit e485bdf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

adb/daemon/file_sync_service.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,6 @@ static bool do_send_v2(int s, const std::string& path, std::vector<char>& buffer
591591
static bool recv_uncompressed(borrowed_fd s, unique_fd fd, std::vector<char>& buffer) {
592592
syncmsg msg;
593593
msg.data.id = ID_DATA;
594-
std::optional<BrotliEncoder<SYNC_DATA_MAX>> encoder;
595594
while (true) {
596595
int r = adb_read(fd.get(), &buffer[0], buffer.size() - sizeof(msg.data));
597596
if (r <= 0) {

0 commit comments

Comments
 (0)