diff options
author | Tao Bao <tbao@google.com> | 2015-06-03 10:49:29 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-07 19:02:26 -0800 |
commit | 0997ce973c09513e79a5b3e597cddf4e0ad77b62 (patch) | |
tree | 7385cfc99060b8cdde1e1093d548f2b1e2519baf /adb_install.cpp | |
parent | f43603fbd68ffbbff81bc8653aa547a8acc7cc46 (diff) | |
download | bootable_recovery-0997ce973c09513e79a5b3e597cddf4e0ad77b62.zip bootable_recovery-0997ce973c09513e79a5b3e597cddf4e0ad77b62.tar.gz bootable_recovery-0997ce973c09513e79a5b3e597cddf4e0ad77b62.tar.bz2 |
recovery: Switch to clang
And a few trival fixes to suppress warnings.
Change-Id: I38734b5f4434643e85feab25f4807b46a45d8d65
Diffstat (limited to 'adb_install.cpp')
-rw-r--r-- | adb_install.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb_install.cpp b/adb_install.cpp index e3b94ea..4cfcb2a 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; |