diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-01-25 22:45:15 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-01-25 22:45:15 +0100 |
commit | c6d7ccf7621697de6620068ba144ca1b44b197a0 (patch) | |
tree | 7208619735c2a276df838273f4bf4f5a11509ecd | |
parent | 5aa4cf05ee3182cf06ccfdf1def96817f0f80eaf (diff) | |
download | librda-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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()); |