mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 21:50:18 +01:00
libnm: fix uninitialized GError in NMClient's _init_start_cancel_on_idle_cb()
Found with `git grep 'GError.*[^,)];'| grep ' *= *NULL;' -v`
Fixes: ce0e898fb4 ('libnm: refactor caching of D-Bus objects in NMClient')
This commit is contained in:
parent
43748d2980
commit
a9d521bf8c
1 changed files with 2 additions and 2 deletions
|
|
@ -7327,8 +7327,8 @@ _init_start_cancelled_cb(GCancellable *cancellable, gpointer user_data)
|
|||
static gboolean
|
||||
_init_start_cancel_on_idle_cb(gpointer user_data)
|
||||
{
|
||||
NMClient *self = user_data;
|
||||
GError *error;
|
||||
NMClient *self = user_data;
|
||||
GError *error = NULL;
|
||||
|
||||
nm_utils_error_set_cancelled(&error, FALSE, NULL);
|
||||
_init_start_complete(self, error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue