summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-06-02 13:00:34 (GMT)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-06-02 13:07:07 (GMT)
commitef311a22212a8a937c096a836e653e793ca73edd (patch)
treeb79386ec21b601849f54662e2e6f89b8621ac4fb
parent7b97c8a8307ce1c20af0dcfa09ac9ee7a8d3350f (diff)
downloadwocky-ef311a22212a8a937c096a836e653e793ca73edd.tar.gz
wocky-ef311a22212a8a937c096a836e653e793ca73edd.tar.xz
jingle-content: remove unused assignations
-rw-r--r--wocky/wocky-jingle-content.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wocky/wocky-jingle-content.c b/wocky/wocky-jingle-content.c
index 1874fed..5ddd8d1 100644
--- a/wocky/wocky-jingle-content.c
+++ b/wocky/wocky-jingle-content.c
@@ -519,9 +519,7 @@ wocky_jingle_content_parse_add (WockyJingleContent *c,
/* the google protocols don't give the contents names, so put in a dummy
* value if none was set by the session*/
if (priv->name == NULL)
- name = priv->name = g_strdup ("gtalk");
- else
- name = priv->name;
+ priv->name = g_strdup ("gtalk");
if (trans_node == NULL)
{