[calls] manager: Initialize g_auto variable to NULL
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] manager: Initialize g_auto variable to NULL
- Date: Wed, 25 Aug 2021 09:48:31 +0000 (UTC)
commit a85b9cd5c3e21094753ad3d7464b3aa654ea0527
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Wed Aug 25 10:50:52 2021 +0200
manager: Initialize g_auto variable to NULL
src/calls-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calls-manager.c b/src/calls-manager.c
index 2c1045ad..57a609ac 100644
--- a/src/calls-manager.c
+++ b/src/calls-manager.c
@@ -379,7 +379,7 @@ remove_provider (CallsManager *self,
{
GListModel *origins;
guint n_items;
- g_autoptr (CallsProvider) provider;
+ g_autoptr (CallsProvider) provider = NULL;
g_assert (CALLS_IS_MANAGER (self));
g_assert (name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]