mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 01:34:15 +01:00
Remove a dead store to silence clang-analyze
This commit is contained in:
parent
e735303026
commit
b47fd5e8c9
@ -267,7 +267,6 @@ static void ssl_write_supported_elliptic_curves_ext( mbedtls_ssl_context *ssl,
|
|||||||
#if defined(MBEDTLS_ECP_C)
|
#if defined(MBEDTLS_ECP_C)
|
||||||
for( grp_id = ssl->conf->curve_list; *grp_id != MBEDTLS_ECP_DP_NONE; grp_id++ )
|
for( grp_id = ssl->conf->curve_list; *grp_id != MBEDTLS_ECP_DP_NONE; grp_id++ )
|
||||||
{
|
{
|
||||||
info = mbedtls_ecp_curve_info_from_grp_id( *grp_id );
|
|
||||||
#else
|
#else
|
||||||
for( info = mbedtls_ecp_curve_list(); info->grp_id != MBEDTLS_ECP_DP_NONE; info++ )
|
for( info = mbedtls_ecp_curve_list(); info->grp_id != MBEDTLS_ECP_DP_NONE; info++ )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user