[Bug 79006] [next] Fix clang warnings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 21 02:01:27 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79006

--- Comment #11 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> ---
(In reply to comment #10)
> Comment on attachment 99483 [details] [review]
> base-client: fix potential uninitialized variable bug
> 
> >From 6c5f392d9487a94a4fa62c1aaaebdc18794dea9d Mon Sep 17 00:00:00 2001
> >From: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
> >Date: Wed, 21 May 2014 10:52:49 +0200
> >Subject: [PATCH 7/9] base-client: fix potential uninitialized variable bug
> >
> >https://bugs.freedesktop.org/show_bug.cgi?id=79006
> >---
> > telepathy-glib/base-client.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/telepathy-glib/base-client.c b/telepathy-glib/base-client.c
> >index cb717ca..e9040e2 100644
> >--- a/telepathy-glib/base-client.c
> >+++ b/telepathy-glib/base-client.c
> >@@ -2328,7 +2328,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;
> >-- 
> >1.9.0
> >

Ooops, sorry; ignore that quote.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list