summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2014-05-13 16:26:13 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-13 16:26:13 +0000
commit57e53ed4189cc49844e6afcea2a5861fd8ca93f1 (patch)
tree94d3e1bcf2a23a8bb34058ce7cd9ae993b446269 /adb
parente8a470cdad85fc0e50115242e6904abf8af5cc9e (diff)
parentc563c38d06e3af61ab8cf1c26536106985fec073 (diff)
downloadsystem_core-57e53ed4189cc49844e6afcea2a5861fd8ca93f1.zip
system_core-57e53ed4189cc49844e6afcea2a5861fd8ca93f1.tar.gz
system_core-57e53ed4189cc49844e6afcea2a5861fd8ca93f1.tar.bz2
am c563c38d: am 905874ab: Merge "adb: avoid compilation errors for unused results"
* commit 'c563c38d06e3af61ab8cf1c26536106985fec073': 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 9039d42..783774a 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;