summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-01-25 22:45:15 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-01-25 22:45:15 +0100
commitc6d7ccf7621697de6620068ba144ca1b44b197a0 (patch)
tree7208619735c2a276df838273f4bf4f5a11509ecd
parent5aa4cf05ee3182cf06ccfdf1def96817f0f80eaf (diff)
downloadlibrda-c6d7ccf7621697de6620068ba144ca1b44b197a0.tar.gz
librda-c6d7ccf7621697de6620068ba144ca1b44b197a0.tar.bz2
librda-c6d7ccf7621697de6620068ba144ca1b44b197a0.zip
src/rda.c: Initialize GList objects in rda_supported_technologies{,_by_name}() functions.
-rw-r--r--src/rda.c4
1 files changed, 2 insertions, 2 deletions
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());