diff options
author | Josh Gao <jmgao@google.com> | 2020-03-26 17:40:33 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2020-04-01 13:09:31 -0700 |
commit | e485bdf06eb2c50d5f95a3f87cf7b9f614e1196c (patch) | |
tree | f95f3f0a7353c446c35bf5a3300a3be047aa7de7 /adb/daemon/file_sync_service.cpp | |
parent | 6e697f2f8ca3f4078c38a0d08b3ec1bcbb038132 (diff) |
adbd: delete unused variable.
Bug: https://issuetracker.google.com/150827486
Test: m adb com.android.adbd.apex
Change-Id: I90e10c74d695659c702dea4173cb33ac5ca1a102
Diffstat (limited to 'adb/daemon/file_sync_service.cpp')
-rw-r--r-- | adb/daemon/file_sync_service.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/adb/daemon/file_sync_service.cpp b/adb/daemon/file_sync_service.cpp index c298d6053..5ccddeabf 100644 --- a/adb/daemon/file_sync_service.cpp +++ b/adb/daemon/file_sync_service.cpp @@ -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) { |