mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gtlsdatabase: remove duplicate precondition check
This check is the same as the check on the line above.
This commit is contained in:
parent
416339305f
commit
855a22e165
@ -516,8 +516,6 @@ g_tls_database_verify_chain (GTlsDatabase *self,
|
||||
GError **error)
|
||||
{
|
||||
g_return_val_if_fail (G_IS_TLS_DATABASE (self), G_TLS_CERTIFICATE_GENERIC_ERROR);
|
||||
g_return_val_if_fail (G_IS_TLS_DATABASE (self),
|
||||
G_TLS_CERTIFICATE_GENERIC_ERROR);
|
||||
g_return_val_if_fail (G_IS_TLS_CERTIFICATE (chain),
|
||||
G_TLS_CERTIFICATE_GENERIC_ERROR);
|
||||
g_return_val_if_fail (purpose, G_TLS_CERTIFICATE_GENERIC_ERROR);
|
||||
|
Loading…
Reference in New Issue
Block a user