diff options
author | Sen Jiang <senj@google.com> | 2016-02-10 20:30:20 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-02-10 20:30:20 +0100 |
commit | bca162a98b8e3ccb8400d41c05b80bc1fe847451 (patch) | |
tree | b70bf8c1ca5cbac5770a94ef57282bffebf03709 /applypatch/imgdiff.cpp | |
parent | Merge "verifier_test: Suppress the unused parameter warnings." (diff) | |
parent | Merge "applypatch: Add a Makefile to build imgdiff in Chrome OS." (diff) | |
download | android_bootable_recovery-bca162a98b8e3ccb8400d41c05b80bc1fe847451.tar android_bootable_recovery-bca162a98b8e3ccb8400d41c05b80bc1fe847451.tar.gz android_bootable_recovery-bca162a98b8e3ccb8400d41c05b80bc1fe847451.tar.bz2 android_bootable_recovery-bca162a98b8e3ccb8400d41c05b80bc1fe847451.tar.lz android_bootable_recovery-bca162a98b8e3ccb8400d41c05b80bc1fe847451.tar.xz android_bootable_recovery-bca162a98b8e3ccb8400d41c05b80bc1fe847451.tar.zst android_bootable_recovery-bca162a98b8e3ccb8400d41c05b80bc1fe847451.zip |
Diffstat (limited to 'applypatch/imgdiff.cpp')
-rw-r--r-- | applypatch/imgdiff.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/applypatch/imgdiff.cpp b/applypatch/imgdiff.cpp index f22502e38..a3c10b40a 100644 --- a/applypatch/imgdiff.cpp +++ b/applypatch/imgdiff.cpp @@ -598,7 +598,6 @@ int ReconstructDeflateChunk(ImageChunk* chunk) { return -1; } - size_t p = 0; unsigned char* out = reinterpret_cast<unsigned char*>(malloc(BUFFER_SIZE)); // We only check two combinations of encoder parameters: level 6 @@ -844,7 +843,6 @@ int main(int argc, char** argv) { } if (argc != 4) { - usage: printf("usage: %s [-z] [-b <bonus-file>] <src-img> <tgt-img> <patch-file>\n", argv[0]); return 2; |