From c6d7ccf7621697de6620068ba144ca1b44b197a0 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 25 Jan 2019 22:45:15 +0100 Subject: src/rda.c: Initialize GList objects in rda_supported_technologies{,_by_name}() functions. --- src/rda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rda.c b/src/rda.c index 63e9294..26fd3ac 100644 --- a/src/rda.c +++ b/src/rda.c @@ -176,7 +176,7 @@ rda_session_terminate(void) GList * rda_supported_technologies(void) { - GList * tech_list; + GList * tech_list = NULL; #ifdef WITH_REMOTE_AWARENESS_X2GO tech_list = g_list_append (tech_list, GINT_TO_POINTER(REMOTE_TECHNOLOGY_X2GO)); @@ -192,7 +192,7 @@ rda_supported_technologies(void) GList * rda_supported_technologies_by_name(void) { - GList * tech_list_by_name; + GList * tech_list_by_name = NULL; #ifdef WITH_REMOTE_AWARENESS_X2GO tech_list_by_name = g_list_append (tech_list_by_name, rda_remote_technology_name_x2go()); -- cgit v1.2.3