diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-12-04 13:58:23 +0000 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-12-04 13:58:23 +0000 |
commit | af3d39b6cc447fad30e97ecdc715e0496e971d85 (patch) | |
tree | 18312efcf0a1d56c9b94c487052b0fd2260ae082 /src/im-application-list.c | |
parent | af58f8e28e5ab5ed29de518bd921f8ae699ac972 (diff) | |
download | ayatana-indicator-messages-af3d39b6cc447fad30e97ecdc715e0496e971d85.tar.gz ayatana-indicator-messages-af3d39b6cc447fad30e97ecdc715e0496e971d85.tar.bz2 ayatana-indicator-messages-af3d39b6cc447fad30e97ecdc715e0496e971d85.zip |
im-application-list: initialize local variables with NULL
They are not set in every code path but freed at the end of the function.
Diffstat (limited to 'src/im-application-list.c')
-rw-r--r-- | src/im-application-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/im-application-list.c b/src/im-application-list.c index 77c0e47..da78813 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -577,8 +577,8 @@ im_application_list_message_added (Application *app, gboolean draws_attention; GSimpleAction *action; GIcon *app_icon; - gchar *app_iconstr; - gchar *symbolic_app_iconstr; + gchar *app_iconstr = NULL; + gchar *symbolic_app_iconstr = NULL; GVariant *actions = NULL; g_variant_get (message, "(&s&s&s&s&sxaa{sv}b)", |