libnm: accept %NULL argument in nmtst_connection_assert_unchanging()

It's just more convenient, as it saves us the %NULL check.
This commit is contained in:
Thomas Haller 2019-07-11 12:24:52 +02:00
parent 355390fad4
commit a33e602a23

View file

@ -1811,6 +1811,9 @@ const char _nmtst_connection_unchanging_user_data = 0;
void
nmtst_connection_assert_unchanging (NMConnection *connection)
{
if (!connection)
return;
nm_assert (NM_IS_CONNECTION (connection));
if (g_signal_handler_find (connection,