diff options
-rw-r--r-- | src/connection-avatars.c | 2 | ||||
-rw-r--r-- | src/im-channel.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/connection-avatars.c b/src/connection-avatars.c index 8be1814..9afb301 100644 --- a/src/connection-avatars.c +++ b/src/connection-avatars.c @@ -86,7 +86,7 @@ get_avatar (HazeConnection *conn, { const gchar *bname = tp_handle_inspect (contact_handles, handle); PurpleBuddy *buddy = purple_find_buddy (conn->account, bname); - PurpleBuddyIcon *icon; + PurpleBuddyIcon *icon = NULL; if (buddy) icon = purple_buddy_get_icon (buddy); if (icon) diff --git a/src/im-channel.c b/src/im-channel.c index 4e155f6..fc5473b 100644 --- a/src/im-channel.c +++ b/src/im-channel.c @@ -181,7 +181,7 @@ haze_im_channel_set_chat_state (TpSvcChannelInterfaceChatState *self, const gchar *who = purple_conversation_get_name (conv); GError *error = NULL; - PurpleTypingState typing; + PurpleTypingState typing = PURPLE_NOT_TYPING; guint timeout; g_assert (_chat_state_available (chan)); |