summaryrefslogtreecommitdiffstats
path: root/applypatch/imgdiff.cpp
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2016-02-02 09:01:23 +0100
committerSen Jiang <senj@google.com>2016-02-10 00:26:57 +0100
commit696692a3c9fe4bd8879f98f3e85341303f85afd5 (patch)
treed01dfa7f2b65b703ab83fc9e47fed61e67f97d85 /applypatch/imgdiff.cpp
parentMerge "verifier_test: Suppress the unused parameter warnings." (diff)
downloadandroid_bootable_recovery-696692a3c9fe4bd8879f98f3e85341303f85afd5.tar
android_bootable_recovery-696692a3c9fe4bd8879f98f3e85341303f85afd5.tar.gz
android_bootable_recovery-696692a3c9fe4bd8879f98f3e85341303f85afd5.tar.bz2
android_bootable_recovery-696692a3c9fe4bd8879f98f3e85341303f85afd5.tar.lz
android_bootable_recovery-696692a3c9fe4bd8879f98f3e85341303f85afd5.tar.xz
android_bootable_recovery-696692a3c9fe4bd8879f98f3e85341303f85afd5.tar.zst
android_bootable_recovery-696692a3c9fe4bd8879f98f3e85341303f85afd5.zip
Diffstat (limited to '')
-rw-r--r--applypatch/imgdiff.cpp2
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;