summaryrefslogtreecommitdiffstats
path: root/applypatch/bsdiff.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/bsdiff.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 'applypatch/bsdiff.cpp')
-rw-r--r--applypatch/bsdiff.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/applypatch/bsdiff.cpp b/applypatch/bsdiff.cpp
index 55dbe5cf1..cca1b32fb 100644
--- a/applypatch/bsdiff.cpp
+++ b/applypatch/bsdiff.cpp
@@ -224,7 +224,6 @@ static void offtout(off_t x,u_char *buf)
int bsdiff(u_char* old, off_t oldsize, off_t** IP, u_char* newdata, off_t newsize,
const char* patch_filename)
{
- int fd;
off_t *I;
off_t scan,pos,len;
off_t lastscan,lastpos,lastoffset;