summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2014-05-13 16:21:12 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 16:21:12 +0000
commitc563c38d06e3af61ab8cf1c26536106985fec073 (patch)
tree9844147b8b81abc9f3bf8775c1379cb8650335b2 /adb
parente37e330159d1db45ce36e711dfaa90ab65dcf87b (diff)
parent905874abe45279d7c668e590d404880dd91b1869 (diff)
downloadsystem_core-c563c38d06e3af61ab8cf1c26536106985fec073.tar.gz
system_core-c563c38d06e3af61ab8cf1c26536106985fec073.tar.bz2
system_core-c563c38d06e3af61ab8cf1c26536106985fec073.zip
am 905874ab: Merge "adb: avoid compilation errors for unused results"
* commit '905874abe45279d7c668e590d404880dd91b1869': adb: avoid compilation errors for unused results
Diffstat (limited to 'adb')
-rw-r--r--adb/adb_auth_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/adb_auth_host.c b/adb/adb_auth_host.c
index 9039d42eb..783774a71 100644
--- a/adb/adb_auth_host.c
+++ b/adb/adb_auth_host.c
@@ -159,13 +159,13 @@ static int write_public_keyfile(RSA *private_key, const char *private_key_path)
bio = BIO_push(b64, bfile);
BIO_write(bio, &pkey, sizeof(pkey));
- BIO_flush(bio);
+ (void) BIO_flush(bio);
BIO_pop(b64);
BIO_free(b64);
get_user_info(info, sizeof(info));
BIO_write(bfile, info, strlen(info));
- BIO_flush(bfile);
+ (void) BIO_flush(bfile);
BIO_free_all(bfile);
return 1;