From fdb2e20b29bd1d2cf6e7b1a2fb93fc52c631927f Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Thu, 2 May 2019 01:09:20 +0200 Subject: libcaja-private: reduce the scope of some variables --- libcaja-private/caja-file-changes-queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcaja-private/caja-file-changes-queue.c') diff --git a/libcaja-private/caja-file-changes-queue.c b/libcaja-private/caja-file-changes-queue.c index 58f11ad4..20363723 100644 --- a/libcaja-private/caja-file-changes-queue.c +++ b/libcaja-private/caja-file-changes-queue.c @@ -220,7 +220,7 @@ static void pairs_list_free (GList *pairs) { GList *p; - GFilePair *pair; + GFilePair *pair = NULL; /* deep delete the list of pairs */ @@ -240,7 +240,7 @@ static void position_set_list_free (GList *list) { GList *p; - CajaFileChangesQueuePosition *item; + CajaFileChangesQueuePosition *item = NULL; for (p = list; p != NULL; p = p->next) { -- cgit v1.2.1