recovery: Switch to clang

And a few trival fixes to suppress warnings.

Change-Id: I38734b5f4434643e85feab25f4807b46a45d8d65
This commit is contained in:
Tao Bao
2015-06-03 10:49:29 -07:00
parent 227069d77f
commit 80e46e08de
13 changed files with 38 additions and 11 deletions

View File

@@ -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;