From 8b217981eda423927380e2eda51ee3e43c28ea0d Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Tue, 18 Jun 2013 12:07:46 +0100 Subject: Removed unused argument of make_re(). --- src/common/url.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/common/url.c b/src/common/url.c index dabee601..f65d5575 100644 --- a/src/common/url.c +++ b/src/common/url.c @@ -363,7 +363,7 @@ do_an_re(const char *word, int *start, int *end, int *type) #define OPT_PORT "(" PORT ")?" GRegex * -make_re(char *grist, char *type) +make_re (char *grist) { GRegex *ret; GError *err = NULL; @@ -388,7 +388,7 @@ re_host (void) "(" HOST_URL PORT ")|(" HOST ")" ")" ); - host_ret = make_re (grist, "re_host"); + host_ret = make_re (grist); return host_ret; } @@ -406,7 +406,7 @@ re_host6 (void) ")" ); - host6_ret = make_re (grist, "re_host6"); + host6_ret = make_re (grist); return host6_ret; } @@ -530,7 +530,7 @@ re_url (void) grist = g_string_free (grist_gstr, FALSE); - url_ret = make_re (grist, "re_url"); + url_ret = make_re (grist); return url_ret; } @@ -551,7 +551,7 @@ re_email (void) EMAIL ")" ); - email_ret = make_re (grist, "re_email"); + email_ret = make_re (grist); return email_ret; } @@ -587,7 +587,7 @@ re_nick (void) NICK ")" ); - nick_ret = make_re (grist, "re_nick"); + nick_ret = make_re (grist); return nick_ret; } @@ -607,7 +607,7 @@ re_channel (void) CHANNEL ")" ); - channel_ret = make_re (grist, "re_channel"); + channel_ret = make_re (grist); return channel_ret; } @@ -633,6 +633,6 @@ re_path (void) FS_PATH ")" ); - path_ret = make_re (grist, "re_path"); + path_ret = make_re (grist); return path_ret; } -- cgit 1.4.1