summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Barisione <marco@barisione.org>2011-02-22 10:17:24 +0000
committerMarco Barisione <marco@barisione.org>2011-02-25 18:52:40 +0000
commit62ae41d06f62d67c43289e075eabb564dbd6bbe7 (patch)
tree26d8731d8e4af6daae7c0db3b986cf5bd28ac132
parent35ad15366b3310264464075fcea3b58674a47754 (diff)
GabbleRosterItem: fix the use of an uninitialised variable
-rw-r--r--src/roster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster.c b/src/roster.c
index 02aeb6b8d..2a9c9373e 100644
--- a/src/roster.c
+++ b/src/roster.c
@@ -966,7 +966,7 @@ roster_item_set_publish (GabbleRosterItem *item,
TpSubscriptionState publish,
const gchar *request)
{
- gboolean changed;
+ gboolean changed = FALSE;
g_assert (publish == TP_SUBSCRIPTION_STATE_ASK || request == NULL);