summaryrefslogtreecommitdiffstats
path: root/adb_install.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-06-03 19:49:29 +0200
committerTao Bao <tbao@google.com>2015-06-03 20:30:03 +0200
commit80e46e08de5f65702fa7f7cd3ef83f905d919bbc (patch)
treea49e149d6efdf165c92650ebd6d7f410ee63b4f6 /adb_install.cpp
parentMerge "Fix build: fprintf without modifier" (diff)
downloadandroid_bootable_recovery-80e46e08de5f65702fa7f7cd3ef83f905d919bbc.tar
android_bootable_recovery-80e46e08de5f65702fa7f7cd3ef83f905d919bbc.tar.gz
android_bootable_recovery-80e46e08de5f65702fa7f7cd3ef83f905d919bbc.tar.bz2
android_bootable_recovery-80e46e08de5f65702fa7f7cd3ef83f905d919bbc.tar.lz
android_bootable_recovery-80e46e08de5f65702fa7f7cd3ef83f905d919bbc.tar.xz
android_bootable_recovery-80e46e08de5f65702fa7f7cd3ef83f905d919bbc.tar.zst
android_bootable_recovery-80e46e08de5f65702fa7f7cd3ef83f905d919bbc.zip
Diffstat (limited to '')
-rw-r--r--adb_install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb_install.cpp b/adb_install.cpp
index e3b94ea59..4cfcb2ab8 100644
--- a/adb_install.cpp
+++ b/adb_install.cpp
@@ -91,7 +91,7 @@ apply_from_adb(RecoveryUI* ui_, bool* wipe_cache, const char* install_file) {
// FUSE_SIDELOAD_HOST_PATHNAME will start to exist once the host
// connects and starts serving a package. Poll for its
// appearance. (Note that inotify doesn't work with FUSE.)
- int result;
+ int result = INSTALL_ERROR;
int status;
bool waited = false;
struct stat st;