diff --git a/ssl/ssl_cipher.cc b/ssl/ssl_cipher.cc index 232fdf85c0..2ca67fa75e 100644 --- a/ssl/ssl_cipher.cc +++ b/ssl/ssl_cipher.cc @@ -1304,10 +1304,8 @@ int update_cipher_list(UniquePtr &dst, UniquePtr flags_span(updated_in_group_flags.data(), updated_in_group_flags.size()); - if (!dst) { - dst = MakeUnique(); - } + dst = MakeUnique(); dst->Init(std::move(tmp_cipher_list), flags_span); return 1;