mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-22 08:00:41 +01:00
core: downgrade assertion to nm_assert()
It can be easily verified, that these assertions should not ever fail. Disable in production builds.
This commit is contained in:
parent
580a11da3a
commit
1a33ab17de
1 changed files with 3 additions and 3 deletions
|
|
@ -4243,9 +4243,9 @@ validate_activation_request (NMManager *self,
|
|||
NMAuthSubject *subject = NULL;
|
||||
char *error_desc = NULL;
|
||||
|
||||
g_assert (connection);
|
||||
g_assert (out_device);
|
||||
g_assert (out_vpn);
|
||||
nm_assert (NM_IS_CONNECTION (connection));
|
||||
nm_assert (out_device);
|
||||
nm_assert (out_vpn);
|
||||
|
||||
/* Validate the caller */
|
||||
subject = nm_auth_subject_new_unix_process_from_context (context);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue