From 0843bbedee1cac706b94c7ed01202ebd40c036e2 Mon Sep 17 00:00:00 2001 From: Dennis Kaarsemaker Date: Fri, 26 Feb 2016 19:24:44 +0100 Subject: twitter.c: Squelch an unused variable warning 9456255 made the variable 's' unused but failed to remove it. --- protocols/twitter/twitter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/twitter/twitter.c') diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index ac0086af..7c96e9c3 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -468,7 +468,7 @@ int twitter_url_len_diff(gchar *msg, unsigned int target_len) g_regex_match(regex, msg, 0, &match_info); while (g_match_info_matches(match_info)) { - gchar *s, *url; + gchar *url; url = g_match_info_fetch(match_info, 2); url_len_diff += target_len - g_utf8_strlen(url, -1); -- cgit v1.2.3