aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Kaarsemaker <dennis@kaarsemaker.net>2016-02-26 19:24:44 +0100
committerDennis Kaarsemaker <dennis@kaarsemaker.net>2016-02-26 19:25:17 +0100
commit0843bbedee1cac706b94c7ed01202ebd40c036e2 (patch)
treeff42eff0de3ad5910bc5a661b06b53ce7a03cef1
parent242f280339195f878973dd7f1e8c3e9233d61c0a (diff)
twitter.c: Squelch an unused variable warning
9456255 made the variable 's' unused but failed to remove it.
-rw-r--r--protocols/twitter/twitter.c2
1 files changed, 1 insertions, 1 deletions
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);