mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +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)
|
if (iface->set_advertised_protocols == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
return iface->set_advertised_protocols (conn, protocols);
|
iface->set_advertised_protocols (conn, protocols);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user