summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2018-11-27 07:23:38 -0800
committerandroid-build-merger <android-build-merger@google.com>2018-11-27 07:23:38 -0800
commitc53e3a0eb342712f3a9fdd871e146857888b184f (patch)
tree62999e0bffcd7df35694674e6c82c58b1515eb7f
parent1d0a526e2a8c0bd67a5f5351a2623e067a06ff9d (diff)
parentdd6df872284817f2ae2a09dcc4e602f396bb9b4b (diff)
downloadbsdiff-c53e3a0eb342712f3a9fdd871e146857888b184f.tar.gz
Merge "Return false for no compression." am: df9b6528ca am: f2b9f9bd7a
am: dd6df87228 Change-Id: Ia0c183392469468076db0a666d674e02ed0ded55
-rw-r--r--patch_writer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/patch_writer.cc b/patch_writer.cc
index b1f45fa..52982e0 100644
--- a/patch_writer.cc
+++ b/patch_writer.cc
@@ -61,6 +61,7 @@ bool BsdiffPatchWriter::InitializeCompressorList(
break;
case CompressorType::kNoCompression:
LOG(ERROR) << "Unsupported compression type " << static_cast<int>(type);
+ return false;
}
}