summaryrefslogtreecommitdiffstats
path: root/applypatch/bspatch.cpp
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2016-02-10 20:30:20 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-02-10 20:30:20 +0100
commitbca162a98b8e3ccb8400d41c05b80bc1fe847451 (patch)
treeb70bf8c1ca5cbac5770a94ef57282bffebf03709 /applypatch/bspatch.cpp
parentMerge "verifier_test: Suppress the unused parameter warnings." (diff)
parentMerge "applypatch: Add a Makefile to build imgdiff in Chrome OS." (diff)
downloadandroid_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/bspatch.cpp')
-rw-r--r--applypatch/bspatch.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/applypatch/bspatch.cpp b/applypatch/bspatch.cpp
index ebb55f1d1..1fc1455a6 100644
--- a/applypatch/bspatch.cpp
+++ b/applypatch/bspatch.cpp
@@ -182,7 +182,6 @@ int ApplyBSDiffPatchMem(const unsigned char* old_data, ssize_t old_size,
off_t oldpos = 0, newpos = 0;
off_t ctrl[3];
- off_t len_read;
int i;
unsigned char buf[24];
while (newpos < new_size) {