diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 5cd62ae2c1..6a1a10f4a8 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -4974,7 +4974,7 @@ static void activation_source_schedule (NMDevice *self, ActivationHandleFunc func, int addr_family) { ActivationHandleData *act_data; - GSourceFunc source_func; + GSourceFunc source_func = NULL; guint new_id = 0; act_data = activation_source_get_by_family (self, addr_family, &source_func);