Merge "Fix compiler warnings"

This commit is contained in:
Fred Gylys-Colwell
2018-02-16 02:15:09 +00:00
committed by Android (Google) Code Review
16 changed files with 26 additions and 40 deletions

View File

@@ -1658,7 +1658,7 @@ bool CryptoSession::GetMaxNumberOfSessions(size_t* max) {
return false;
}
size_t max_sessions;
size_t max_sessions = 0;
OEMCryptoResult status = OEMCrypto_GetMaxNumberOfSessions(
requested_security_level_, &max_sessions);
if (OEMCrypto_SUCCESS != status) {