Commit 0b993f0
committed
librustls: remove duplicative out param null check
In `rustls_client_connection_new` we're using the pattern of
constructing a `&mut *mut` out reference from a `*mut *mut` pointer
input using the `try_mut_from_ptr_ptr!` macro, which checks that the
param isn't `NULL`. This means an earlier explicit check isn't needed
and can be removed for clarity.1 parent b02548a commit 0b993f0
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | 765 | | |
769 | 766 | | |
770 | 767 | | |
| |||
0 commit comments