summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-05-26 13:46:54 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-05-26 13:46:54 +0200
commitae627c03b209c521cf6c2f17b9d22fc44a6cd207 (patch)
tree7ba03061d70cab24177fcb80af91d38035c4be6e
parent3ba6a273a477221c9285c323b64bf63b804e887a (diff)
base-client: fix potential uninitialized variable bug
-rw-r--r--telepathy-glib/base-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c
index dbe153f6f..600f29211 100644
--- a/telepathy-glib/base-client.c
+++ b/telepathy-glib/base-client.c
@@ -2604,7 +2604,7 @@ _tp_base_client_add_request (TpSvcClientInterfaceRequests *iface,
{
TpBaseClient *self = TP_BASE_CLIENT (iface);
TpChannelRequest *request;
- TpAccount *account;
+ TpAccount *account = NULL;
GError *error = NULL;
channel_request_prepare_account_ctx *ctx;
GArray *account_features;