mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 06:28:05 +02:00
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:
parent
355390fad4
commit
a33e602a23
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue