mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
gdtlsconnection: do not return on a void method
Fixes: warning C4098: 'g_dtls_connection_set_advertised_protocols': 'void' function returning a value
This commit is contained in:
parent
da2bf2a280
commit
e9506d7719
@ -1050,7 +1050,7 @@ g_dtls_connection_set_advertised_protocols (GDtlsConnection *conn,
|
||||
if (iface->set_advertised_protocols == NULL)
|
||||
return;
|
||||
|
||||
return iface->set_advertised_protocols (conn, protocols);
|
||||
iface->set_advertised_protocols (conn, protocols);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user