summaryrefslogtreecommitdiffstats
path: root/updater/updater.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-03-17 23:29:23 +0100
committerTao Bao <tbao@google.com>2016-03-17 23:29:23 +0100
commitce5868862a04a348967fb5bdad291b2b27b6e506 (patch)
tree301405afcb2c8947072b69d741ad39ac4a652da0 /updater/updater.cpp
parentDO NOT MERGE Control fault injection with config files instead of build flags (diff)
downloadandroid_bootable_recovery-ce5868862a04a348967fb5bdad291b2b27b6e506.tar
android_bootable_recovery-ce5868862a04a348967fb5bdad291b2b27b6e506.tar.gz
android_bootable_recovery-ce5868862a04a348967fb5bdad291b2b27b6e506.tar.bz2
android_bootable_recovery-ce5868862a04a348967fb5bdad291b2b27b6e506.tar.lz
android_bootable_recovery-ce5868862a04a348967fb5bdad291b2b27b6e506.tar.xz
android_bootable_recovery-ce5868862a04a348967fb5bdad291b2b27b6e506.tar.zst
android_bootable_recovery-ce5868862a04a348967fb5bdad291b2b27b6e506.zip
Diffstat (limited to 'updater/updater.cpp')
-rw-r--r--updater/updater.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp
index 1693fa1db..ddc01e125 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -25,7 +25,6 @@
#include "blockimg.h"
#include "minzip/Zip.h"
#include "minzip/SysUtil.h"
-#include "config.h"
// Generated by the makefile, this function defines the
// RegisterDeviceExtensions() function, which calls all the
@@ -85,7 +84,6 @@ int main(int argc, char** argv) {
argv[3], strerror(err));
return 3;
}
- ota_io_init(&za);
const ZipEntry* script_entry = mzFindZipEntry(&za, SCRIPT_NAME);
if (script_entry == NULL) {