Bug 1268745 - follow-up fixing scan-build issue, r=mt
--- a/lib/ssl/ssl3con.c
+++ b/lib/ssl/ssl3con.c
@@ -3076,17 +3076,17 @@ ssl3_CompressMACEncryptRecord(ssl3Cipher
SSL3ProtocolVersion version = cwSpec->version;
if (capRecordVersion || version >= SSL_LIBRARY_VERSION_TLS_1_3) {
version = PR_MIN(SSL_LIBRARY_VERSION_TLS_1_0, version);
}
b = ssl_EncodeUintX(version, 2, b);
}
- b = ssl_EncodeUintX(cipherBytes, 2, b);
+ (void)ssl_EncodeUintX(cipherBytes, 2, b);
++cwSpec->write_seq_num;
return SECSuccess;
}
/* Process the plain text before sending it.
* Returns the number of bytes of plaintext that were successfully sent