recovery: Switch to clang

And a few trival fixes to suppress warnings.

Change-Id: Id28e3581aaca4bda59826afa80c0c1cdfb0442fc
(cherry picked from commit 80e46e08de)
This commit is contained in:
Tao Bao
2015-06-03 10:49:29 -07:00
committed by Rom Lemarchand
parent cde720797f
commit 7101b2e285
13 changed files with 38 additions and 11 deletions
+1 -1
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;